Home / Type/ SQLiteSelectJoin Type — drizzle-orm Architecture

SQLiteSelectJoin Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/select.types.ts lines 75–104

export type SQLiteSelectJoin<
	T extends AnySQLiteSelectQueryBuilder,
	TDynamic extends boolean,
	TJoinType extends JoinType,
	TJoinedTable extends SQLiteTable | Subquery | SQLiteViewBase | SQL,
	TJoinedName extends GetSelectTableName<TJoinedTable> = GetSelectTableName<TJoinedTable>,
> = T extends any ? SQLiteSelectWithout<
		SQLiteSelectKind<
			T['_']['hkt'],
			T['_']['tableName'],
			T['_']['resultType'],
			T['_']['runResult'],
			AppendToResult<
				T['_']['tableName'],
				T['_']['selection'],
				TJoinedName,
				TJoinedTable extends SQLiteTable ? TJoinedTable['_']['columns']
					: TJoinedTable extends Subquery | View ? Assume<TJoinedTable['_']['selectedFields'], SelectedFields>
					: never,
				T['_']['selectMode']
			>,
			T['_']['selectMode'] extends 'partial' ? T['_']['selectMode'] : 'multiple',
			AppendToNullabilityMap<T['_']['nullabilityMap'], TJoinedName, TJoinType>,
			T['_']['dynamic'],
			T['_']['excludedMethods']
		>,
		TDynamic,
		T['_']['excludedMethods']
	>
	: never;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free