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 bf19839a_7b72_47c7_69f8_34df5f0764c9["createSession()"] 17d567e7_9c8e_88c6_db4b_df3b1c595f52["SingleStoreDriverDriver"] bf19839a_7b72_47c7_69f8_34df5f0764c9 -->|defined in| 17d567e7_9c8e_88c6_db4b_df3b1c595f52 811281dd_a2f3_96fc_b811_834647463172["construct()"] 811281dd_a2f3_96fc_b811_834647463172 -->|calls| bf19839a_7b72_47c7_69f8_34df5f0764c9 style bf19839a_7b72_47c7_69f8_34df5f0764c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/singlestore/driver.ts lines 39–46
createSession(
schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined,
): SingleStoreDriverSession<Record<string, unknown>, TablesRelationalConfig> {
return new SingleStoreDriverSession(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/singlestore/driver.ts.
Where is createSession() defined?
createSession() is defined in drizzle-orm/src/singlestore/driver.ts at line 39.
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