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
  48de9c6b_7b8a_018a_63e5_19607505c7d1["where()"]
  e8ae715e_b65b_b0b9_a755_051bc127c6e5["SingleStoreUpdateBase"]
  48de9c6b_7b8a_018a_63e5_19607505c7d1 -->|defined in| e8ae715e_b65b_b0b9_a755_051bc127c6e5
  style 48de9c6b_7b8a_018a_63e5_19607505c7d1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/query-builders/update.ts lines 184–187

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

Analyze Your Own Codebase

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

Try Supermodel Free