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 88fb68f3_7cd0_47db_ef4d_71dd6c8f4ee1["constructor()"] b5f39cbd_0992_c93c_e18e_1884481a37ac["NeonHttpSession"] 88fb68f3_7cd0_47db_ef4d_71dd6c8f4ee1 -->|defined in| b5f39cbd_0992_c93c_e18e_1884481a37ac 14e6db06_9437_f868_b543_03f0938c9f28["constructor()"] 14e6db06_9437_f868_b543_03f0938c9f28 -->|calls| 88fb68f3_7cd0_47db_ef4d_71dd6c8f4ee1 09117629_83ca_2137_7916_094d5a8c372e["constructor()"] 09117629_83ca_2137_7916_094d5a8c372e -->|calls| 88fb68f3_7cd0_47db_ef4d_71dd6c8f4ee1 14e6db06_9437_f868_b543_03f0938c9f28["constructor()"] 88fb68f3_7cd0_47db_ef4d_71dd6c8f4ee1 -->|calls| 14e6db06_9437_f868_b543_03f0938c9f28 style 88fb68f3_7cd0_47db_ef4d_71dd6c8f4ee1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/neon-http/session.ts lines 159–172
constructor(
private client: NeonHttpClient,
dialect: PgDialect,
private schema: RelationalSchemaConfig<TSchema> | undefined,
private options: NeonHttpSessionOptions = {},
) {
super(dialect);
// `client.query` is for @neondatabase/serverless v1.0.0 and up, where the
// root query function `client` is only usable as a template function;
// `client` is a fallback for earlier versions
this.clientQuery = (client as any).query ?? client as any;
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/neon-http/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/neon-http/session.ts at line 159.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 2 function(s): constructor, constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free