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

where() — drizzle-orm Function Reference

Architecture documentation for the where() function in indexes.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  893ea090_7834_41bd_d9e6_54882f4c778c["where()"]
  6445d9e1_77f2_40aa_77c4_9c61ce1b7aef["IndexBuilder"]
  893ea090_7834_41bd_d9e6_54882f4c778c -->|defined in| 6445d9e1_77f2_40aa_77c4_9c61ce1b7aef
  style 893ea090_7834_41bd_d9e6_54882f4c778c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/indexes.ts lines 228–231

	where(condition: SQL): this {
		this.config.where = condition;
		return this;
	}

Domain

Subdomains

Frequently Asked Questions

What does where() do?
where() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/indexes.ts.
Where is where() defined?
where() is defined in drizzle-orm/src/gel-core/indexes.ts at line 228.

Analyze Your Own Codebase

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

Try Supermodel Free