-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.0.0 Release #54
base: master
Are you sure you want to change the base?
v1.0.0 Release #54
Conversation
Arbitrary query composition: var q1 = dirac.query();
q1.table('orders')
.where({ status: 'submitted' })
.order(['id desc'])
.limit(30);
db.users.find()
.where.({ id: 10 })
.many( q1 )
|
Place a bigger emphasis on the Relationships helpers |
Stream support with https://github.com/brianc/node-pg-query-stream db.orders().find()
.where({ ... })
.many({ table: 'order_items', alias: 'items' })
.pipe( res ); Where |
Instead, make middleware return new instance of extended Database class
… the parameters of `this<Database>`
Easily composable factory based API: