query specific collections

14 views
Skip to first unread message

Sahil Chug

unread,
May 23, 2013, 4:58:54 PM5/23/13
to mongoeng...@googlegroups.com
Hi,

I am pretty new to Mongoengine and MongoDB. 
So my question is that is it possible to query a specific collection:
Here's my use case:
  • suppose My application has many users.
  • For each user i create a new collection. Now is it possible to query to specific collection based on the user who is logged in using MongoEngine.
I have come across switch_collection in MongoEngine. Not sure that will help . 
Any help will be much appreciated.

Thanks,
sahil.
Reply all
Reply to author
Forward
0 new messages