This commit is contained in:
Mel O'Hagan 2022-07-19 18:04:27 +01:00
parent 57e24b8722
commit 58c02ee05d
1 changed files with 3 additions and 1 deletions

View File

@ -235,7 +235,9 @@ class InternalBuilder {
const tableName = fieldNames[0]
const columnName = fieldNames[1]
// @ts-ignore
query = query[rawFnc](`"${tableName}"."${columnName}"::jsonb @> '["${value}"]'`)
query = query[rawFnc](
`"${tableName}"."${columnName}"::jsonb @> '["${value}"]'`
)
})
} else if (this.client === SqlClients.MY_SQL) {
iterate(filters.contains, (key: string, value: any) => {