(value: string | Date)
| 283 | } |
| 284 | |
| 285 | private escapeDate(value: string | Date): string { |
| 286 | if (value instanceof Date) { |
| 287 | return sqlstring.escape(clix.datetime(value)); |
| 288 | } |
| 289 | |
| 290 | return value.replaceAll(this._dateRegex, (match) => { |
| 291 | return sqlstring.escape(match); |
| 292 | }); |
| 293 | } |
| 294 | |
| 295 | // Add join methods |
| 296 | join(table: string | Expression, condition: string, alias?: string): this { |
no outgoing calls
no test coverage detected