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 6f94e919_4c79_fb6a_50bb_73d43191f505["constructor()"] 239bdd2a_5708_20e9_b503_784625d93a65["PreparedQuery"] 6f94e919_4c79_fb6a_50bb_73d43191f505 -->|defined in| 239bdd2a_5708_20e9_b503_784625d93a65 38de1c03_06e4_2aa2_1dca_c5679bae9ccf["constructor()"] 38de1c03_06e4_2aa2_1dca_c5679bae9ccf -->|calls| 6f94e919_4c79_fb6a_50bb_73d43191f505 38de1c03_06e4_2aa2_1dca_c5679bae9ccf["constructor()"] 6f94e919_4c79_fb6a_50bb_73d43191f505 -->|calls| 38de1c03_06e4_2aa2_1dca_c5679bae9ccf style 6f94e919_4c79_fb6a_50bb_73d43191f505 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/singlestore-proxy/session.ts lines 101–114
constructor(
private client: RemoteCallback,
private queryString: string,
private params: unknown[],
private logger: Logger,
private fields: SelectedFieldsOrdered | undefined,
private customResultMapper?: (rows: unknown[][]) => T['execute'],
// Keys that were used in $default and the value that was generated for them
private generatedIds?: Record<string, unknown>[],
// Keys that should be returned, it has the column with all properries + key from object
private returningIds?: SelectedFieldsOrdered,
) {
super();
}
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/singlestore-proxy/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/singlestore-proxy/session.ts at line 101.
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