uptrace / bun

SQL-first Golang ORM
https://bun.uptrace.dev
BSD 2-Clause "Simplified" License
3.47k stars 210 forks source link

target_session_attrs support #917

Open boskiv opened 9 months ago

boskiv commented 9 months ago

I need to pass target_session_attrs=read-write to pgdriver to connect only to write host, not to read replica. Is it possible?