Home / Type/ SQLiteCreateSetOperatorFn Type — drizzle-orm Architecture

SQLiteCreateSetOperatorFn Type — drizzle-orm Architecture

Architecture documentation for the SQLiteCreateSetOperatorFn type/interface in select.types.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  35c189dc_f01c_7082_1a31_103351258aa9["SQLiteCreateSetOperatorFn"]
  18a5fcd5_994e_4f8e_c531_decae9341796["select.types.ts"]
  35c189dc_f01c_7082_1a31_103351258aa9 -->|defined in| 18a5fcd5_994e_4f8e_c531_decae9341796
  style 35c189dc_f01c_7082_1a31_103351258aa9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/select.types.ts lines 418–463

export type SQLiteCreateSetOperatorFn = <
	TTableName extends string | undefined,
	TResultType extends 'sync' | 'async',
	TRunResult,
	TSelection extends ColumnsSelection,
	TValue extends SQLiteSetOperatorWithResult<TResult>,
	TRest extends SQLiteSetOperatorWithResult<TResult>[],
	TSelectMode extends SelectMode = 'single',
	TNullabilityMap extends Record<string, JoinNullability> = TTableName extends string ? Record<TTableName, 'not-null'>
		: {},
	TDynamic extends boolean = false,
	TExcludedMethods extends string = never,
	TResult extends any[] = SelectResult<TSelection, TSelectMode, TNullabilityMap>[],
	TSelectedFields extends ColumnsSelection = BuildSubquerySelection<TSelection, TNullabilityMap>,
>(
	leftSelect: SQLiteSetOperatorInterface<
		TTableName,
		TResultType,
		TRunResult,
		TSelection,
		TSelectMode,
		TNullabilityMap,
		TDynamic,
		TExcludedMethods,
		TResult,
		TSelectedFields
	>,
	rightSelect: SetOperatorRightSelect<TValue, TResult>,
	...restSelects: SetOperatorRestSelect<TRest, TResult>
) => SQLiteSelectWithout<
	SQLiteSelectBase<
		TTableName,
		TResultType,
		TRunResult,
		TSelection,
		TSelectMode,
		TNullabilityMap,
		TDynamic,
		TExcludedMethods,
		TResult,
		TSelectedFields
	>,
	false,
	SQLiteSetOperatorExcludedMethods,
	true
>;

Frequently Asked Questions

What is the SQLiteCreateSetOperatorFn type?
SQLiteCreateSetOperatorFn is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/query-builders/select.types.ts.
Where is SQLiteCreateSetOperatorFn defined?
SQLiteCreateSetOperatorFn is defined in drizzle-orm/src/sqlite-core/query-builders/select.types.ts at line 418.

Analyze Your Own Codebase

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

Try Supermodel Free