MCPcopy
hub / github.com/drizzle-team/drizzle-orm / values

Method values

drizzle-orm/src/d1/session.ts:277–283  ·  view source on GitHub ↗
(placeholderValues?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

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 {

Callers 15

allMethod · 0.95
getMethod · 0.95
mysql.test.tsFile · 0.45
pg.test.tsFile · 0.45
turso.test.tsFile · 0.45
vercel.test.tsFile · 0.45

Calls 2

fillPlaceholdersFunction · 0.90
logQueryMethod · 0.65

Tested by 5

setupSetOperationTestFunction · 0.36
setupSetOperationTestFunction · 0.36