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 23f13aaa_d82b_791b_5360_56f77f8f9010["update()"] 17526f8f_740d_de23_63c6_24441259e452["SingleStoreDatabase"] 23f13aaa_d82b_791b_5360_56f77f8f9010 -->|defined in| 17526f8f_740d_de23_63c6_24441259e452 89cc4194_6077_47c3_f92d_2c1f3813ce41["with()"] 89cc4194_6077_47c3_f92d_2c1f3813ce41 -->|calls| 23f13aaa_d82b_791b_5360_56f77f8f9010 c2412b2b_a61e_ec2a_c12b_f9c03187e9b6["withReplicas()"] c2412b2b_a61e_ec2a_c12b_f9c03187e9b6 -->|calls| 23f13aaa_d82b_791b_5360_56f77f8f9010 style 23f13aaa_d82b_791b_5360_56f77f8f9010 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/singlestore-core/db.ts lines 418–422
update<TTable extends SingleStoreTable>(
table: TTable,
): SingleStoreUpdateBuilder<TTable, TQueryResult, TPreparedQueryHKT> {
return new SingleStoreUpdateBuilder(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/singlestore-core/db.ts.
Where is update() defined?
update() is defined in drizzle-orm/src/singlestore-core/db.ts at line 418.
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