(placeholderValues?: Record<string, unknown>)
| 275 | } |
| 276 | |
| 277 | async values<T extends any[] = unknown[]>(placeholderValues?: Record<string, unknown>): Promise<T[]> { |
| 278 | const params = fillPlaceholders(this.query.params, placeholderValues ?? {}); |
| 279 | this.logger.logQuery(this.query.sql, params); |
| 280 | return await this.queryWithCache(this.query.sql, params, async () => { |
| 281 | return this.stmt.bind(...params).raw(); |
| 282 | }); |
| 283 | } |
| 284 | |
| 285 | /** @internal */ |
| 286 | isResponseInArrayMode(): boolean { |