I'm wondering if SQL Delight can be used just for ...
# squarelibraries
d
I'm wondering if SQL Delight can be used just for it's type-safe sqls, and output the sql and params I need to run on another library (in my case, Jasync)... I want to migrate existing repos to it, but I don't want to have two connection pools open, and I can't migrate everything at once...
h
I think it should be possible by creating a custom driver. But what about reusing the same connection pool? Sqldelight JVM driver takes any JDBC driver 🤔
But maybe SqlDelight takes an R2dbc driver? I think Jasync does implement r2dbc.
h
Well, sqldelight supports a r2dbc connection, but not a pool one yet and it’s still in beta.
d
That's promising simple smile! I guess I'll have to wait for when that's ready, thanks!