hugsql

jmckitrick 2021-02-22T16:12:26.002200Z

Hey all... I'm loving Hugsql but having an issue with my_column ? 'value' not parsing into a jsonb '?' operator. Hugsql sees the '?' and expects a parameter. I've tried one and 2 backslashes before the '?' but still getting similar errors.

curtis.summers 2021-02-22T16:19:56.003100Z

@jmckitrick This a JDBC driver issue, and you can escape a question mark with a double question mark: ??

jmckitrick 2021-02-22T16:20:16.003500Z

Oh, ok I'll try that. I was just about to try a snippet...

curtis.summers 2021-02-22T16:20:34.003800Z

Reference: https://jdbc.postgresql.org/documentation/head/statement.html

jmckitrick 2021-02-22T16:22:57.004100Z

Thanks so much. I'll try that out...