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 9ed58169_0fbf_1e69_954c_e8721114263f["where()"] b3550288_69f4_670f_8c2e_e82d7003a700["PgUpdateBase"] 9ed58169_0fbf_1e69_954c_e8721114263f -->|defined in| b3550288_69f4_670f_8c2e_e82d7003a700 style 9ed58169_0fbf_1e69_954c_e8721114263f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/query-builders/update.ts lines 508–511
where(where: SQL | undefined): PgUpdateWithout<this, TDynamic, 'where'> {
this.config.where = where;
return this as any;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does where() do?
where() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/update.ts.
Where is where() defined?
where() is defined in drizzle-orm/src/pg-core/query-builders/update.ts at line 508.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free