set() — drizzle-orm Function Reference
Architecture documentation for the set() function in update.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD dc97e86b_00ec_be6c_bf99_4ddff3b931e6["set()"] 0918cb98_dbc8_6561_9d11_a5c3f019d71b["SQLiteUpdateBuilder"] dc97e86b_00ec_be6c_bf99_4ddff3b931e6 -->|defined in| 0918cb98_dbc8_6561_9d11_a5c3f019d71b style dc97e86b_00ec_be6c_bf99_4ddff3b931e6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sqlite-core/query-builders/update.ts lines 67–81
set(
values: SQLiteUpdateSetSource<TTable>,
): SQLiteUpdateWithout<
SQLiteUpdateBase<TTable, TResultType, TRunResult>,
false,
'leftJoin' | 'rightJoin' | 'innerJoin' | 'fullJoin'
> {
return new SQLiteUpdateBase(
this.table,
mapUpdateSet(this.table, values),
this.session,
this.dialect,
this.withList,
) as any;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does set() do?
set() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/query-builders/update.ts.
Where is set() defined?
set() is defined in drizzle-orm/src/sqlite-core/query-builders/update.ts at line 67.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free