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

Method createSession

drizzle-orm/src/xata-http/driver.ts:29–36  ·  view source on GitHub ↗
(
		schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined,
	)

Source from the content-addressed store, hash-verified

27 }
28
29 createSession(
30 schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined,
31 ): XataHttpSession<Record<string, unknown>, TablesRelationalConfig> {
32 return new XataHttpSession(this.client, this.dialect, schema, {
33 logger: this.options.logger,
34 cache: this.options.cache,
35 });
36 }
37
38 initMappers() {
39 // TODO: Add custom type parsers

Callers 1

drizzleFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected