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

where() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  0425f68d_d766_b1e2_baba_6ad39f659fb3["where()"]
  40e4076c_05d5_c280_7940_f08e5d3868d9["GelUpdateBase"]
  0425f68d_d766_b1e2_baba_6ad39f659fb3 -->|defined in| 40e4076c_05d5_c280_7940_f08e5d3868d9
  style 0425f68d_d766_b1e2_baba_6ad39f659fb3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/update.ts lines 468–471

	where(where: SQL | undefined): GelUpdateWithout<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/gel-core/query-builders/update.ts.
Where is where() defined?
where() is defined in drizzle-orm/src/gel-core/query-builders/update.ts at line 468.

Analyze Your Own Codebase

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

Try Supermodel Free