leftSelect() — drizzle-orm Function Reference
Architecture documentation for the leftSelect() function in select.types.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD c71db857_e4e8_db39_b6f4_7c0ba9abd2ac["leftSelect()"] 18a5fcd5_994e_4f8e_c531_decae9341796["select.types.ts"] c71db857_e4e8_db39_b6f4_7c0ba9abd2ac -->|defined in| 18a5fcd5_994e_4f8e_c531_decae9341796 style c71db857_e4e8_db39_b6f4_7c0ba9abd2ac 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
>;
Domain
Subdomains
Source
Frequently Asked Questions
What does leftSelect() do?
leftSelect() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/query-builders/select.types.ts.
Where is leftSelect() defined?
leftSelect() 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