Home / Type/ SQLiteInsertBase Type — drizzle-orm Architecture

SQLiteInsertBase Type — drizzle-orm Architecture

Architecture documentation for the SQLiteInsertBase type/interface in insert.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  e8292b2f_604a_e9a8_ec42_c67eb04082e9["SQLiteInsertBase"]
  84987318_b83b_9a2c_d793_542fa0b46175["insert.ts"]
  e8292b2f_604a_e9a8_ec42_c67eb04082e9 -->|defined in| 84987318_b83b_9a2c_d793_542fa0b46175
  style e8292b2f_604a_e9a8_ec42_c67eb04082e9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/insert.ts lines 199–221

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

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free