constructor() — drizzle-orm Function Reference
Architecture documentation for the constructor() function in view.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 4472a230_8b4f_21d2_d5cb_0acb52f6ee17["constructor()"] f1d3b33b_1bbb_c2e2_ddee_e622b196789b["ManualViewBuilder"] 4472a230_8b4f_21d2_d5cb_0acb52f6ee17 -->|defined in| f1d3b33b_1bbb_c2e2_ddee_e622b196789b a2316a92_0db3_dfb0_395e_4b5fbb775201["constructor()"] a2316a92_0db3_dfb0_395e_4b5fbb775201 -->|calls| 4472a230_8b4f_21d2_d5cb_0acb52f6ee17 baeaae7a_6e32_8d63_8090_9210b8c900b4["mysqlTable()"] 4472a230_8b4f_21d2_d5cb_0acb52f6ee17 -->|calls| baeaae7a_6e32_8d63_8090_9210b8c900b4 a2316a92_0db3_dfb0_395e_4b5fbb775201["constructor()"] 4472a230_8b4f_21d2_d5cb_0acb52f6ee17 -->|calls| a2316a92_0db3_dfb0_395e_4b5fbb775201 style 4472a230_8b4f_21d2_d5cb_0acb52f6ee17 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/view.ts lines 96–103
constructor(
name: TName,
columns: TColumns,
schema: string | undefined,
) {
super(name, schema);
this.columns = getTableColumns(mysqlTable(name, columns)) as BuildColumns<TName, TColumns, 'mysql'>;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/view.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/mysql-core/view.ts at line 96.
What does constructor() call?
constructor() calls 2 function(s): constructor, mysqlTable.
What calls constructor()?
constructor() is called by 1 function(s): constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free