https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
d

Derek Ellis

04/29/2022, 4:49 AM
When implementing a new driver, is there any mechanism in sqldelight to translate the
?
placeholders (like
INSERT INTO a VALUES (?, ?)
) to something else, e.g.
($1, $2)
, if the underlying driver doesn't like the question marks?
h

hfhbd

07/23/2022, 11:12 AM
I know it is an old thread, but which driver/dialect do you mean? And what do you do for replacement? Because it should not replace the first
?
although it is a rare case:
INSERT INTO a VALUES("Hardcoded ?", ?)