JSONArrayContains returns SQL + the arg to check if a JSON array column contains a given text value. SQLite: "column LIKE ?" with arg `%"value"%` PostgreSQL: "column::jsonb @> ?::jsonb" with arg `["value"]`
(column, value string)
| 103 | // SQLite: "column LIKE ?" with arg `%"value"%` |
| 104 | // PostgreSQL: "column::jsonb @> ?::jsonb" with arg `["value"]` |
| 105 | JSONArrayContains(column, value string) (string, interface{}) |
| 106 | |
| 107 | // JSONArrayElements returns a FROM-clause table-function fragment that |
| 108 | // unnests a JSON text-array column into one row per element, plus the |
no outgoing calls
no test coverage detected