kshitij kumar singh
kshitij kumar singh
@notoriousno it a nice coincidence i came up with an exact solution using decorators :)
@bagerard `switch_db` can be used only when [db aliases are predefined](http://docs.mongoengine.org/guide/connecting.html#documents-defined-in-different-database) when connection is established for the first time [(Taken from here)](http://docs.mongoengine.org/apireference.html#mongoengine.DynamicDocument.switch_db). But in case of `multi-tenant` architecture where dbs...
yes, i am aware of this workraround but as you mentioned this pattern is not enough to start modeling a huge application based on this.whats worse is we loose all...
@kgriffs can I take this on me?
@phoboslab thankyou, I will work on it and give a PR.
@IlyaSkriblovsky @psi29a it works in MongoDB 3.0.12. verified
@ashishRay12 what version are you using?