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 3910638f_c3a5_d9f6_3cab_b956135497da["constructor()"] 14351328_0bb3_a023_1777_c1cf2bd65b9a["BetterSQLiteSession"] 3910638f_c3a5_d9f6_3cab_b956135497da -->|defined in| 14351328_0bb3_a023_1777_c1cf2bd65b9a f208f001_4e84_0d7a_f8fa_ea9e66a49ccf["constructor()"] f208f001_4e84_0d7a_f8fa_ea9e66a49ccf -->|calls| 3910638f_c3a5_d9f6_3cab_b956135497da f208f001_4e84_0d7a_f8fa_ea9e66a49ccf["constructor()"] 3910638f_c3a5_d9f6_3cab_b956135497da -->|calls| f208f001_4e84_0d7a_f8fa_ea9e66a49ccf style 3910638f_c3a5_d9f6_3cab_b956135497da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/better-sqlite3/session.ts lines 37–46
constructor(
private client: Database,
dialect: SQLiteSyncDialect,
private schema: RelationalSchemaConfig<TSchema> | undefined,
options: BetterSQLiteSessionOptions = {},
) {
super(dialect);
this.logger = options.logger ?? new NoopLogger();
this.cache = options.cache ?? new NoopCache();
}
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/better-sqlite3/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/better-sqlite3/session.ts at line 37.
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