How to proxy one drizzle instance to another drizzle instance?

Hello!

I've seen it's possible to use an HTTP proxy with drizzle-sqlite. Now I was wondering if it was possible to use drizzle on the proxy server too. While looking at the documentation and the TS types, I haven't found how to convert the sql statement and the params to a query object executable by drizzle. The magic sql template doesn't seem to be able to do that.

Thank you!
Was this page helpful?