createSession() — drizzle-orm Function Reference
Architecture documentation for the createSession() function in driver.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 0ac40a46_5a26_7aca_7a55_5278c42e693c["createSession()"] c484e555_46a1_83cc_3465_7c5f050c575c["VercelPgDriver"] 0ac40a46_5a26_7aca_7a55_5278c42e693c -->|defined in| c484e555_46a1_83cc_3465_7c5f050c575c 1979ab42_37b3_68cb_c787_e9fd797c7e1f["construct()"] 1979ab42_37b3_68cb_c787_e9fd797c7e1f -->|calls| 0ac40a46_5a26_7aca_7a55_5278c42e693c style 0ac40a46_5a26_7aca_7a55_5278c42e693c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/vercel-postgres/driver.ts lines 32–39
createSession(
schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined,
): VercelPgSession<Record<string, unknown>, TablesRelationalConfig> {
return new VercelPgSession(this.client, this.dialect, schema, {
logger: this.options.logger,
cache: this.options.cache,
});
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does createSession() do?
createSession() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/vercel-postgres/driver.ts.
Where is createSession() defined?
createSession() is defined in drizzle-orm/src/vercel-postgres/driver.ts at line 32.
What calls createSession()?
createSession() is called by 1 function(s): construct.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free