Home / Type/ SQLiteUpdateBase Type — drizzle-orm Architecture

SQLiteUpdateBase Type — drizzle-orm Architecture

Architecture documentation for the SQLiteUpdateBase type/interface in update.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  6776979e_c5e6_9c40_89b3_c1d6e8da32db["SQLiteUpdateBase"]
  521e96ec_d755_9be7_bb0d_0c92d181f793["update.ts"]
  6776979e_c5e6_9c40_89b3_c1d6e8da32db -->|defined in| 521e96ec_d755_9be7_bb0d_0c92d181f793
  style 6776979e_c5e6_9c40_89b3_c1d6e8da32db fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/update.ts lines 203–223

export interface SQLiteUpdateBase<
	TTable extends SQLiteTable = SQLiteTable,
	TResultType extends 'sync' | 'async' = 'sync' | 'async',
	TRunResult = unknown,
	TFrom extends SQLiteTable | Subquery | SQLiteViewBase | SQL | undefined = undefined,
	TReturning = undefined,
	TDynamic extends boolean = false,
	TExcludedMethods extends string = never,
> extends SQLWrapper, QueryPromise<TReturning extends undefined ? TRunResult : TReturning[]> {
	readonly _: {
		readonly dialect: 'sqlite';
		readonly table: TTable;
		readonly resultType: TResultType;
		readonly runResult: TRunResult;
		readonly from: TFrom;
		readonly returning: TReturning;
		readonly dynamic: TDynamic;
		readonly excludedMethods: TExcludedMethods;
		readonly result: TReturning extends undefined ? TRunResult : TReturning[];
	};
}

Frequently Asked Questions

What is the SQLiteUpdateBase type?
SQLiteUpdateBase is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/query-builders/update.ts.
Where is SQLiteUpdateBase defined?
SQLiteUpdateBase is defined in drizzle-orm/src/sqlite-core/query-builders/update.ts at line 203.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free