(sql: string, params: unknown[] = [])
| 25 | const adapter = getDataAdapter() |
| 26 | return { |
| 27 | all<T>(sql: string, params: unknown[] = []): Promise<T[]> { |
| 28 | return adapter.pluginQuery<T>(sessionId, sql, params) |
| 29 | }, |
| 30 | async get<T>(sql: string, params: unknown[] = []): Promise<T | undefined> { |
| 31 | const rows = await adapter.pluginQuery<T>(sessionId, sql, params) |
| 32 | return rows[0] |
nothing calls this directly
no test coverage detected