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 0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f["constructor()"] 305e702d_be56_5898_972e_085e3f4318f8["SQLiteDOPreparedQuery"] 0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f -->|defined in| 305e702d_be56_5898_972e_085e3f4318f8 d4e6fdb7_8381_79dc_a8d5_f86e0452e022["constructor()"] d4e6fdb7_8381_79dc_a8d5_f86e0452e022 -->|calls| 0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f d4e6fdb7_8381_79dc_a8d5_f86e0452e022["constructor()"] 0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f -->|calls| d4e6fdb7_8381_79dc_a8d5_f86e0452e022 style 0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/durable-sqlite/session.ts lines 100–111
constructor(
private client: DurableObjectStorage,
query: Query,
private logger: Logger,
private fields: SelectedFieldsOrdered | undefined,
executeMethod: SQLiteExecuteMethod,
private _isResponseInArrayMode: boolean,
private customResultMapper?: (rows: unknown[][]) => unknown,
) {
// 3-6 params are for cache. As long as we don't support sync cache - it will be skipped here
super('sync', executeMethod, query, undefined, undefined, undefined);
}
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/durable-sqlite/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/durable-sqlite/session.ts at line 100.
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