You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is maybe a niche situation, but I'm looking to move to kysley from knex.
The situation is that I have a pg master and a replica, and I want
The workaround in Knex is here, it involves creating two Knex clients (one master, one replica), and then creating a third 'wrapper' client, that we monkey patch to route the query to the appropriate 'real' client. knex/knex#2253 (comment)
The above solution is elegant and works fine but is not part of Knex documented capabilities.
Is there an equivalent strategy I can use with Kysley?
The text was updated successfully, but these errors were encountered:
I know this is maybe a niche situation, but I'm looking to move to kysley from knex.
The situation is that I have a pg master and a replica, and I want
The workaround in Knex is here, it involves creating two Knex clients (one master, one replica), and then creating a third 'wrapper' client, that we monkey patch to route the query to the appropriate 'real' client.
knex/knex#2253 (comment)
The above solution is elegant and works fine but is not part of Knex documented capabilities.
Is there an equivalent strategy I can use with Kysley?
The text was updated successfully, but these errors were encountered: