Skip to content

call update directly on knex instead of where. - #146

Merged
daffl merged 1 commit into
feathersjs:masterfrom
omeid:master
Mar 6, 2018
Merged

daffl merged 1 commit into
feathersjs:masterfrom
omeid:master

Conversation

@omeid

@omeid omeid commented Mar 6, 2018

Copy link
Copy Markdown
Contributor

This change allows one to pass a middleware (instead of a knex object) that returns different knex
objects based on whatever it is an update/insert (write) or select
(read) to allow read-write replica setups.

This change allows one to pass a middleawre that returns different knex
objects based on whatever it is an update/insert (write) or select
(read) to allow read-write replica setups.
@daffl
daffl merged commit 4b5d2e8 into feathersjs:master Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants