Home / Function/ all() — drizzle-orm Function Reference

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
  c4332c6a_6798_1c78_f44b_45598607739d["all()"]
  e2c50c8d_fb7d_d417_0322_22c93324dfc6["VercelPgPreparedQuery"]
  c4332c6a_6798_1c78_f44b_45598607739d -->|defined in| e2c50c8d_fb7d_d417_0322_22c93324dfc6
  9fa92c53_c3c3_cffb_2558_ce861e065247["query()"]
  c4332c6a_6798_1c78_f44b_45598607739d -->|calls| 9fa92c53_c3c3_cffb_2558_ce861e065247
  style c4332c6a_6798_1c78_f44b_45598607739d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/vercel-postgres/session.ts lines 161–167

	all(placeholderValues: Record<string, unknown> | undefined = {}): Promise<T['all']> {
		const params = fillPlaceholders(this.params, placeholderValues);
		this.logger.logQuery(this.rawQuery.text, params);
		return this.queryWithCache(this.rawQuery.text, params, async () => {
			return await this.client.query(this.rawQuery, params);
		}).then((result) => result.rows);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does all() do?
all() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/vercel-postgres/session.ts.
Where is all() defined?
all() is defined in drizzle-orm/src/vercel-postgres/session.ts at line 161.
What does all() call?
all() calls 1 function(s): query.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free