Skip to content
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

call update directly on knex instead of where. #146

Merged
merged 1 commit into from
Mar 6, 2018

Conversation

omeid
Copy link
Contributor

@omeid omeid commented Mar 6, 2018

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-ecosystem: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