alias.ts — drizzle-orm Source File
Architecture documentation for alias.ts, a typescript file in the drizzle-orm codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 3a7c4ed0_ee82_c676_65e1_ef48779448c1["alias.ts"] e6e44a09_c7fd_f1ce_bd2f_ab45da60f424["select.types.ts"] 3a7c4ed0_ee82_c676_65e1_ef48779448c1 --> e6e44a09_c7fd_f1ce_bd2f_ab45da60f424 3c5f95cc_22b6_3d0d_d9be_3e274450e9e7["table.ts"] 3a7c4ed0_ee82_c676_65e1_ef48779448c1 --> 3c5f95cc_22b6_3d0d_d9be_3e274450e9e7 8bd3ef32_4223_16b0_09cf_fce512f07634["alias.ts"] 3a7c4ed0_ee82_c676_65e1_ef48779448c1 --> 8bd3ef32_4223_16b0_09cf_fce512f07634 style 3a7c4ed0_ee82_c676_65e1_ef48779448c1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { TableAliasProxyHandler } from '~/alias.ts';
import type { BuildAliasTable } from './query-builders/select.types.ts';
import type { SingleStoreTable } from './table.ts';
export function alias<TTable extends SingleStoreTable, TAlias extends string>( // | SingleStoreViewBase
table: TTable,
alias: TAlias,
): BuildAliasTable<TTable, TAlias> {
return new Proxy(table, new TableAliasProxyHandler(alias, false)) as any;
}
Domain
Subdomains
Functions
Dependencies
- alias.ts
- select.types.ts
- table.ts
Source
Frequently Asked Questions
What does alias.ts do?
alias.ts is a source file in the drizzle-orm codebase, written in typescript. It belongs to the DrizzleORM domain, RelationalQuery subdomain.
What functions are defined in alias.ts?
alias.ts defines 1 function(s): alias.
What does alias.ts depend on?
alias.ts imports 3 module(s): alias.ts, select.types.ts, table.ts.
Where is alias.ts in the architecture?
alias.ts is located at drizzle-orm/src/singlestore-core/alias.ts (domain: DrizzleORM, subdomain: RelationalQuery, directory: drizzle-orm/src/singlestore-core).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free