constructor() — drizzle-orm Function Reference
Architecture documentation for the constructor() function in query.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 44355374_1821_383d_ce03_9474839576f7["constructor()"] 765d2955_5987_484a_db1f_a5727e426ad2["SQLiteRelationalQuery"] 44355374_1821_383d_ce03_9474839576f7 -->|defined in| 765d2955_5987_484a_db1f_a5727e426ad2 e2b79bec_664a_4ef1_44f2_965fb33bde1d["constructor()"] e2b79bec_664a_4ef1_44f2_965fb33bde1d -->|calls| 44355374_1821_383d_ce03_9474839576f7 e2b79bec_664a_4ef1_44f2_965fb33bde1d["constructor()"] 44355374_1821_383d_ce03_9474839576f7 -->|calls| e2b79bec_664a_4ef1_44f2_965fb33bde1d style 44355374_1821_383d_ce03_9474839576f7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/sqlite-core/query-builders/query.ts lines 112–126
constructor(
private fullSchema: Record<string, unknown>,
private schema: TablesRelationalConfig,
private tableNamesMap: Record<string, string>,
/** @internal */
public table: SQLiteTable,
private tableConfig: TableRelationalConfig,
private dialect: SQLiteDialect,
private session: SQLiteSession<'sync' | 'async', unknown, Record<string, unknown>, TablesRelationalConfig>,
private config: DBQueryConfig<'many', true> | true,
mode: 'many' | 'first',
) {
super();
this.mode = mode;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/sqlite-core/query-builders/query.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/sqlite-core/query-builders/query.ts at line 112.
What does constructor() call?
constructor() calls 1 function(s): constructor.
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