Home / Type/ GetSelectTableSelection Type — drizzle-orm Architecture

GetSelectTableSelection Type — drizzle-orm Architecture

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

Entity Profile

Dependency Diagram

graph TD
  3049cbda_ebef_1f6a_9e0a_a3d374af4f96["GetSelectTableSelection"]
  7e7f8434_4765_0a70_b7fa_d197dd2fa706["select.types.ts"]
  3049cbda_ebef_1f6a_9e0a_a3d374af4f96 -->|defined in| 7e7f8434_4765_0a70_b7fa_d197dd2fa706
  style 3049cbda_ebef_1f6a_9e0a_a3d374af4f96 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/query-builders/select.types.ts lines 157–160

export type GetSelectTableSelection<TTable extends TableLike> = TTable extends Table ? TTable['_']['columns']
	: TTable extends Subquery | View ? Assume<TTable['_']['selectedFields'], ColumnsSelection>
	: TTable extends SQL ? {}
	: never;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free