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

where() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  34094e36_e185_d607_fcf3_1d5ba38e6c02["where()"]
  2fc7ad00_d877_7036_3254_b5230a4dd57b["SingleStoreDeleteBase"]
  34094e36_e185_d607_fcf3_1d5ba38e6c02 -->|defined in| 2fc7ad00_d877_7036_3254_b5230a4dd57b
  24c35043_6a76_7336_3e44_a38c73be89e1["buildRelationalQuery()"]
  24c35043_6a76_7336_3e44_a38c73be89e1 -->|calls| 34094e36_e185_d607_fcf3_1d5ba38e6c02
  style 34094e36_e185_d607_fcf3_1d5ba38e6c02 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/query-builders/delete.ts lines 139–142

	where(where: SQL | undefined): SingleStoreDeleteWithout<this, TDynamic, 'where'> {
		this.config.where = where;
		return this as any;
	}

Domain

Subdomains

Frequently Asked Questions

What does where() do?
where() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/query-builders/delete.ts.
Where is where() defined?
where() is defined in drizzle-orm/src/singlestore-core/query-builders/delete.ts at line 139.
What calls where()?
where() is called by 1 function(s): buildRelationalQuery.

Analyze Your Own Codebase

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

Try Supermodel Free