(value: any)
| 85 | } |
| 86 | |
| 87 | override quoteValue(value: any): string { |
| 88 | if (isRaw(value)) { |
| 89 | return this.formatQuery(value.sql, value.params); |
| 90 | } |
| 91 | |
| 92 | if (Utils.isPlainObject(value) || value?.[JsonProperty]) { |
| 93 | return this.escape(JSON.stringify(value)); |
| 94 | } |
| 95 | |
| 96 | return this.escape(value); |
| 97 | } |
| 98 | |
| 99 | override getSearchJsonPropertySQL(path: string, type: string, aliased: boolean): string | RawQueryFragment { |
| 100 | return this.getSearchJsonPropertyKey(path.split('->'), type, aliased); |
nothing calls this directly
no test coverage detected