Philip Wedemann
Philip Wedemann
Maybe related #https://github.com/cashapp/sqldelight/issues/3599 What about adding a query method works like `Query` but returns `R`?
Yes please. It is very confusing the "native-driver" only supports sqlite which is not clear by the name.
The biggest problem is the missing Kotlin representation. We currently use `sql-psi` and kotlinpoet directly. This works, but changing the generated kotlin representation is hard because kotlinpoet does not have...
Absolutely 👍🏻
Yes it is valid and normal HSql
Before the PR, all binding parameter are replaced with `?`, regardless the provided string, eg `DEFAULT`. With my changes, in the executeBlock the binding parameter is "replaced" with the string...
This PR needs a mixin, specified in sql-psi. I will try to add the mixin to sqldelight. Update: Added to sqldelight :)
> im confused then, isn't this replacing it with `?` in the actual executed SQL? Yes, this was the problem
Exactly, this is the reason for the PR.
To test the replacement with the async code generator I also needed to fix R2DBC driver... So this PR contains some commits of #3525 and #3524, which should be merged...