I'm pretty sure I have read somewhere that there might be problems/bugs regarding creating indexes with nested objects. Like this:
db.bookings.ensureIndex({"staff._id": 1, "start": 1, "end": 1})
Can someone please confirm or deny this?
I can't seemt to find anything online confirming possible problems/bugs. And the index seems to be in use when I run a test query with explain()?
staffan array or just a nested object?