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'm trying to setup bun to split the read and write queries over 2 url's(1 for read/write and one for read only). The problem is bun.NewDB is expecting an sql.DB struct but maybe it should expect an interface implementing all the sql.DB functionality which makes room for these type of setups. Are you guys planning on having such things in the future?
The text was updated successfully, but these errors were encountered:
I'm trying to setup bun to split the read and write queries over 2 url's(1 for read/write and one for read only). The problem is
bun.NewDB
is expecting an sql.DB struct but maybe it should expect an interface implementing all the sql.DB functionality which makes room for these type of setups. Are you guys planning on having such things in the future?The text was updated successfully, but these errors were encountered: