aliasedTable() — drizzle-orm Function Reference
Architecture documentation for the aliasedTable() function in alias.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD bb4b8641_4544_0740_0306_043bfa599f26["aliasedTable()"] ab181952_5759_c0bf_aeab_f255a140fe2a["alias.ts"] bb4b8641_4544_0740_0306_043bfa599f26 -->|defined in| ab181952_5759_c0bf_aeab_f255a140fe2a 7f7d4a09_9ff1_b6af_d8f0_2e4218961db5["get()"] 7f7d4a09_9ff1_b6af_d8f0_2e4218961db5 -->|calls| bb4b8641_4544_0740_0306_043bfa599f26 style bb4b8641_4544_0740_0306_043bfa599f26 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/alias.ts lines 91–96
export function aliasedTable<T extends Table | View>(
table: T,
tableAlias: string,
): T {
return new Proxy(table, new TableAliasProxyHandler(tableAlias, false)) as any;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does aliasedTable() do?
aliasedTable() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/alias.ts.
Where is aliasedTable() defined?
aliasedTable() is defined in drizzle-orm/src/alias.ts at line 91.
What calls aliasedTable()?
aliasedTable() is called by 1 function(s): get.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free