get() — drizzle-orm Function Reference
Architecture documentation for the get() function in alias.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 7f7d4a09_9ff1_b6af_d8f0_2e4218961db5["get()"] a45f9636_53e9_d09b_9c85_d663a411b851["RelationTableAliasProxyHandler"] 7f7d4a09_9ff1_b6af_d8f0_2e4218961db5 -->|defined in| a45f9636_53e9_d09b_9c85_d663a411b851 bb4b8641_4544_0740_0306_043bfa599f26["aliasedTable()"] 7f7d4a09_9ff1_b6af_d8f0_2e4218961db5 -->|calls| bb4b8641_4544_0740_0306_043bfa599f26 50951bff_dee6_567b_2f7e_8f0f762fb6cf["get()"] 7f7d4a09_9ff1_b6af_d8f0_2e4218961db5 -->|calls| 50951bff_dee6_567b_2f7e_8f0f762fb6cf style 7f7d4a09_9ff1_b6af_d8f0_2e4218961db5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/alias.ts lines 82–88
get(target: T, prop: string | symbol): any {
if (prop === 'sourceTable') {
return aliasedTable(target.sourceTable, this.alias);
}
return target[prop as keyof typeof target];
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does get() do?
get() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/alias.ts.
Where is get() defined?
get() is defined in drizzle-orm/src/alias.ts at line 82.
What does get() call?
get() calls 2 function(s): aliasedTable, get.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free