jrf0110 / dirac

A Node Postgres DB layer built with MoSQL
http://dirac.j0.hn
6 stars 2 forks source link

Interface for returning MoSQL Object instead of executing #27

Open jrf0110 opened 10 years ago

jrf0110 commented 10 years ago

This would be useful for transactions and when you need to do sub-queries:

db.users.insert( {}, {
  values: dirac.mosql.other_users.find({ /* ... */ })
}, callback );