grails-mongodb-console
grails-mongodb-console copied to clipboard
Regex queries don't seem to work
e.g.
name:/^John/
Hello, yes, the tengen-json parser still has some issue with this syntax it seems. In the meantime, you can use the strict json syntax, ex:
name:{$regex:"^John"}
name:{$regex:"^john", $options:"i"}
"name":{"$regex":"^john", "$options":"i"}