We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can you add support find by _ID
For example I use string
name=like=c7c502,id=like=c7c502,imei=like=c7c502,location=like=c7c502
So query, dont' work
db.groupEntity.find({ "$or" : [ { "name" : { "$regex" : "c7c502" , "$options" : "is"}} , { "id" : { "$regex" : "c7c502" , "$options" : "is"}} , { "imei" : { "$regex" : "c7c502" , "$options" : "is"}} , { "location" : { "$regex" : "c7c502" , "$options" : "is"}}]})
But such query work well
db.groupEntity.find({ "$or" : [ { "name" : { "$regex" : "c7c502" , "$options" : "is"}} , {"$where" : "/c7c502/.test(this._id)"} , { "imei" : { "$regex" : "c7c502" , "$options" : "is"}} , { "location" : { "$regex" : "c7c502" , "$options" : "is"}}]})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Can you add support find by _ID
For example I use string
So query, dont' work
But such query work well
The text was updated successfully, but these errors were encountered: