maxcountryman / tower-sessions-stores

🚃 Previously bundled session stores for `tower-sessions`.
https://github.com/maxcountryman/tower-sessions
MIT License
22 stars 7 forks source link

SQLx is using format!, why? #25

Closed arcstur closed 2 months ago

arcstur commented 2 months ago

Hello, why is the SQLx store using format! instead of .bind for schema and table names?

I can work on changing it to bind if you want :)

maxcountryman commented 2 months ago

bind isn't able to interpolate all parts of ANSI SQL (like schema name) last I checked.

If you have a workaround, please do feel free to submit a PR.