MCPcopy
hub / github.com/drizzle-team/drizzle-orm / createSession

Method createSession

drizzle-orm/src/pglite/driver.ts:33–40  ·  view source on GitHub ↗
(
		schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined,
	)

Source from the content-addressed store, hash-verified

31 }
32
33 createSession(
34 schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined,
35 ): PgliteSession<Record<string, unknown>, TablesRelationalConfig> {
36 return new PgliteSession(this.client, this.dialect, schema, {
37 logger: this.options.logger,
38 cache: this.options.cache,
39 });
40 }
41}
42
43export class PgliteDatabase<

Callers 1

constructFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected