how to multiple query in mongoengine ?

1,970 views
Skip to first unread message

fird0s

unread,
Nov 29, 2014, 8:43:23 AM11/29/14
to mongoeng...@googlegroups.com
how to multiple query a field in mongoengine, i tried this

search = Item.objects(item_name__contains="Redmi", item_name__contains="Xiomi")

but that give me error. Thanks

Hans Roman

unread,
Dec 4, 2014, 11:20:54 AM12/4/14
to mongoeng...@googlegroups.com

Muhammad Firdaus

unread,
Dec 4, 2014, 11:09:16 PM12/4/14
to mongoeng...@googlegroups.com

thank Hand it worked now :)

--
You received this message because you are subscribed to a topic in the Google Groups "MongoEngine Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongoengine-users/LJGkVDIb7LM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongoengine-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages