(compiled: {
where?: string
params: Array<unknown>
})
| 590 | } |
| 591 | |
| 592 | const toInlinedWhereClause = (compiled: { |
| 593 | where?: string |
| 594 | params: Array<unknown> |
| 595 | }): string => { |
| 596 | if (!compiled.where) return 'TRUE' |
| 597 | const sqlParts = compiled.where.split('?') |
| 598 | return sanitizeSQL( |
| 599 | sqlParts as unknown as TemplateStringsArray, |
| 600 | ...compiled.params, |
| 601 | ) |
| 602 | } |
| 603 | |
| 604 | const unloadSubset = async (options: LoadSubsetOptions) => { |
| 605 | onUnloadSubset?.() |
no outgoing calls
no test coverage detected