# Type Alias SQLiteCreateSetOperatorFn

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,
>

#### Type Declaration

- - <
    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,
    >

  - #### Type Parameters

    - 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>

    #### Parameters

    - leftSelect: SQLiteSetOperatorInterface<
      TTableName,
      TResultType,
      TRunResult,
      TSelection,
      TSelectMode,
      TNullabilityMap,
      TDynamic,
      TExcludedMethods,
      TResult,
      TSelectedFields,
      >
    - rightSelect: SetOperatorRightSelect<TValue, TResult>
    - ...restSelects: SetOperatorRestSelect<TRest, TResult>

    #### Returns SQLiteSelectWithout<
    SQLiteSelectBase<
    TTableName,
    TResultType,
    TRunResult,
    TSelection,
    TSelectMode,
    TNullabilityMap,
    TDynamic,
    TExcludedMethods,
    TResult,
    TSelectedFields,
    >,
    false,
    SQLiteSetOperatorExcludedMethods,
    true,
    >

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/query-builders/select.types.d.ts:123