Home / Type/ MySqlCreateSetOperatorFn Type — drizzle-orm Architecture

MySqlCreateSetOperatorFn Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  839b43aa_be90_a8ec_671a_190377093577["MySqlCreateSetOperatorFn"]
  b145d7b0_f119_a29a_6da7_7ad4e74e20fa["select.types.ts"]
  839b43aa_be90_a8ec_671a_190377093577 -->|defined in| b145d7b0_f119_a29a_6da7_7ad4e74e20fa
  style 839b43aa_be90_a8ec_671a_190377093577 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/query-builders/select.types.ts lines 408–450

export type MySqlCreateSetOperatorFn = <
	TTableName extends string | undefined,
	TSelection extends ColumnsSelection,
	TSelectMode extends SelectMode,
	TValue extends MySqlSetOperatorWithResult<TResult>,
	TRest extends MySqlSetOperatorWithResult<TResult>[],
	TPreparedQueryHKT extends PreparedQueryHKTBase = PreparedQueryHKTBase,
	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: MySqlSetOperatorInterface<
		TTableName,
		TSelection,
		TSelectMode,
		TPreparedQueryHKT,
		TNullabilityMap,
		TDynamic,
		TExcludedMethods,
		TResult,
		TSelectedFields
	>,
	rightSelect: SetOperatorRightSelect<TValue, TResult>,
	...restSelects: SetOperatorRestSelect<TRest, TResult>
) => MySqlSelectWithout<
	MySqlSelectBase<
		TTableName,
		TSelection,
		TSelectMode,
		TPreparedQueryHKT,
		TNullabilityMap,
		TDynamic,
		TExcludedMethods,
		TResult,
		TSelectedFields
	>,
	false,
	MySqlSetOperatorExcludedMethods,
	true
>;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free