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 80906615_b789_7f47_b4af_c84f87be5784["constructor()"] b8f03593_165e_f94d_b267_ffbd5533113e["OPSQLitePreparedQuery"] 80906615_b789_7f47_b4af_c84f87be5784 -->|defined in| b8f03593_165e_f94d_b267_ffbd5533113e 39143895_bcae_6372_ef25_0a67bfaf6e8c["constructor()"] 39143895_bcae_6372_ef25_0a67bfaf6e8c -->|calls| 80906615_b789_7f47_b4af_c84f87be5784 39143895_bcae_6372_ef25_0a67bfaf6e8c["constructor()"] 80906615_b789_7f47_b4af_c84f87be5784 -->|calls| 39143895_bcae_6372_ef25_0a67bfaf6e8c style 80906615_b789_7f47_b4af_c84f87be5784 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/op-sqlite/session.ts lines 117–133
constructor(
private client: OPSQLiteConnection,
query: Query,
private logger: Logger,
cache: Cache,
queryMetadata: {
type: 'select' | 'update' | 'delete' | 'insert';
tables: string[];
} | undefined,
cacheConfig: WithCacheConfig | undefined,
private fields: SelectedFieldsOrdered | undefined,
executeMethod: SQLiteExecuteMethod,
private _isResponseInArrayMode: boolean,
private customResultMapper?: (rows: unknown[][]) => unknown,
) {
super('sync', executeMethod, query, 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/op-sqlite/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/op-sqlite/session.ts at line 117.
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