constructor() — drizzle-orm Function Reference
Architecture documentation for the constructor() function in session.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 868aa770_b759_5b00_609e_994cb0b22f64["constructor()"] a4acd949_ab02_6f38_cd17_6c3ae9b1224c["GelDbPreparedQuery"] 868aa770_b759_5b00_609e_994cb0b22f64 -->|defined in| a4acd949_ab02_6f38_cd17_6c3ae9b1224c 02840ffb_5bdf_bed2_f151_5eacaf27b039["constructor()"] 02840ffb_5bdf_bed2_f151_5eacaf27b039 -->|calls| 868aa770_b759_5b00_609e_994cb0b22f64 02840ffb_5bdf_bed2_f151_5eacaf27b039["constructor()"] 868aa770_b759_5b00_609e_994cb0b22f64 -->|calls| 02840ffb_5bdf_bed2_f151_5eacaf27b039 style 868aa770_b759_5b00_609e_994cb0b22f64 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/gel/session.ts lines 20–37
constructor(
private client: GelClient,
private queryString: string,
private params: unknown[],
private logger: Logger,
cache: Cache,
queryMetadata: {
type: 'select' | 'update' | 'delete' | 'insert';
tables: string[];
} | undefined,
cacheConfig: WithCacheConfig | undefined,
private fields: SelectedFieldsOrdered | undefined,
private _isResponseInArrayMode: boolean,
private customResultMapper?: (rows: unknown[][]) => T['execute'],
private transaction: boolean = false,
) {
super({ sql: queryString, params }, cache, queryMetadata, cacheConfig);
}
Domain
Subdomains
Defined In
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/gel/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/gel/session.ts at line 20.
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