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 3b97aa02_cd8f_47ec_c581_509ac9cd7214["createSession()"] 365a9b09_6546_8b08_3f4d_6e5b90ac257f["XataHttpDriver"] 3b97aa02_cd8f_47ec_c581_509ac9cd7214 -->|defined in| 365a9b09_6546_8b08_3f4d_6e5b90ac257f cc35fc8b_de6d_fbec_70ef_d96b18bd07b4["drizzle()"] cc35fc8b_de6d_fbec_70ef_d96b18bd07b4 -->|calls| 3b97aa02_cd8f_47ec_c581_509ac9cd7214 style 3b97aa02_cd8f_47ec_c581_509ac9cd7214 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/xata-http/driver.ts lines 29–36
createSession(
schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined,
): XataHttpSession<Record<string, unknown>, TablesRelationalConfig> {
return new XataHttpSession(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/xata-http/driver.ts.
Where is createSession() defined?
createSession() is defined in drizzle-orm/src/xata-http/driver.ts at line 29.
What calls createSession()?
createSession() is called by 1 function(s): drizzle.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free