Home user aggregate $and in mongodb grails plugin
Reply: 0

user aggregate $and in mongodb grails plugin

user536 Published in August 15, 2018, 5:37 am

i want to create query in grails to mongodb by this :

collection.aggregate(params.first(), params.tail() as DBObject[]).results().findAll()

collection is my collection in mongo, params is my query

after run code i got this error

{ "serverUsed" : "/" , "ok" : 0.0 , "errmsg" : "bad query: BadValue: unknown top level operator: $match" , "code" : 16810}

please help me! this is so important

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.303103 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO