You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that I've been trying to get some results with only 2 indexes in different combinations(id, 2d), (id, 2dsphere) and only after that added both(id, 2d, 2dsphere).
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
After I try to figure out what's going on, I found that I can apply exactly THIS code if I don't use any other where clauses and final query doesn't use $and operator. Any ideas why it can happen? Is it MongoDB issue or PHP driver may be?
Hi! I'm trying to run query like this:
And it is fine if I'm running it in mongo-shell
But when I try to convert exactly the same query I get an error.
So in Laravel I've got the next peace of code:
If I run this code I get the following:
If I run db.events.getIndexes() I get the following list of indexes:
Note that I've been trying to get some results with only 2 indexes in different combinations(id, 2d), (id, 2dsphere) and only after that added both(id, 2d, 2dsphere).
What am I doing wrong?
The text was updated successfully, but these errors were encountered: