JetBrains / Exposed

Kotlin SQL Framework
http://jetbrains.github.io/Exposed/
Apache License 2.0
8.28k stars 690 forks source link

fix: EXPOSED-252 Json contains() throws with iterable as argument #1963

Closed bog-walk closed 9 months ago

bog-walk commented 9 months ago

If a json column is declared as storing a list/set/array of values and one of these iterables is used with the function contains(), a syntax error exception is thrown.

The function now properly wraps the serialized json list with quotes when the SQL is generated.