update() — drizzle-orm Function Reference
Architecture documentation for the update() function in db.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 530dda0f_a6c2_24bc_0de1_af7772e2b801["update()"] 2d57d0b7_4a77_af8e_8027_62a4fb11f803["GelDatabase"] 530dda0f_a6c2_24bc_0de1_af7772e2b801 -->|defined in| 2d57d0b7_4a77_af8e_8027_62a4fb11f803 de082ae7_ed27_1ff7_a0ea_26b4841c3633["with()"] de082ae7_ed27_1ff7_a0ea_26b4841c3633 -->|calls| 530dda0f_a6c2_24bc_0de1_af7772e2b801 d2020b13_06e0_e575_3703_4a78bd11a479["withReplicas()"] d2020b13_06e0_e575_3703_4a78bd11a479 -->|calls| 530dda0f_a6c2_24bc_0de1_af7772e2b801 style 530dda0f_a6c2_24bc_0de1_af7772e2b801 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/gel-core/db.ts lines 532–534
update<TTable extends GelTable>(table: TTable): GelUpdateBuilder<TTable, TQueryResult> {
return new GelUpdateBuilder(table, this.session, this.dialect);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does update() do?
update() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/db.ts.
Where is update() defined?
update() is defined in drizzle-orm/src/gel-core/db.ts at line 532.
What calls update()?
update() is called by 2 function(s): with, withReplicas.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free