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
  7e767773_72e1_d4a6_0447_714a96db616f["where()"]
  5ab4f9fa_d5b1_6dc6_127e_ac7fee1f3f79["IndexBuilder"]
  7e767773_72e1_d4a6_0447_714a96db616f -->|defined in| 5ab4f9fa_d5b1_6dc6_127e_ac7fee1f3f79
  style 7e767773_72e1_d4a6_0447_714a96db616f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/indexes.ts lines 47–50

	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/sqlite-core/indexes.ts.
Where is where() defined?
where() is defined in drizzle-orm/src/sqlite-core/indexes.ts at line 47.

Analyze Your Own Codebase

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

Try Supermodel Free