all() — drizzle-orm Function Reference
Architecture documentation for the all() function in session.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD f3300c47_0bbe_eef0_9c6c_60f022051dc9["all()"] d351aaf5_212b_70bc_86f8_c0a8a986cf97["XataHttpPreparedQuery"] f3300c47_0bbe_eef0_9c6c_60f022051dc9 -->|defined in| d351aaf5_212b_70bc_86f8_c0a8a986cf97 style f3300c47_0bbe_eef0_9c6c_60f022051dc9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/xata-http/session.ts lines 71–77
all(placeholderValues: Record<string, unknown> | undefined = {}): Promise<T['all']> {
const params = fillPlaceholders(this.query.params, placeholderValues);
this.logger.logQuery(this.query.sql, params);
return this.queryWithCache(this.query.sql, params, async () => {
return this.client.sql({ statement: this.query.sql, params, responseType: 'array' });
}).then((result) => result.rows);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does all() do?
all() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/xata-http/session.ts.
Where is all() defined?
all() is defined in drizzle-orm/src/xata-http/session.ts at line 71.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free