(obj: string, prop: string)
| 3 | |
| 4 | const qb: QueryBuilder = { |
| 5 | jsonExtract(obj: string, prop: string): string { |
| 6 | return `json_extract(${obj}, '$.${prop}')` |
| 7 | }, |
| 8 | |
| 9 | jsonExtractIsNull(obj: string, prop: string): string { |
| 10 | return `${qb.jsonExtract(obj, prop)} IS NULL` |
nothing calls this directly
no outgoing calls
no test coverage detected