mardi 3 février 2015

How to quickly query multiple tables in Mongoid?


Vote count:

0




Foo, Bar and Baz are all Mongoid collection models. There are the only collections in the DB.


Is there a more efficient way to get all the data in the DB?



Foo.all + Bar.all + Baz.all


asked 58 secs ago

B Seven

7,615






How to quickly query multiple tables in Mongoid?

Aucun commentaire:

Enregistrer un commentaire