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 9d20ecf3_00a0_09df_a3da_dd9a84895823["where()"] 05d108b6_b51f_ac46_de61_e5660edaf3b0["PgDeleteBase"] 9d20ecf3_00a0_09df_a3da_dd9a84895823 -->|defined in| 05d108b6_b51f_ac46_de61_e5660edaf3b0 style 9d20ecf3_00a0_09df_a3da_dd9a84895823 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/query-builders/delete.ts lines 196–199
where(where: SQL | undefined): PgDeleteWithout<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/delete.ts.
Where is where() defined?
where() is defined in drizzle-orm/src/pg-core/query-builders/delete.ts at line 196.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free