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

Function mock

drizzle-orm/src/singlestore/driver.ts:187–193  ·  view source on GitHub ↗
(
		config?: SingleStoreDriverDrizzleConfig<TSchema>,
	)

Source from the content-addressed store, hash-verified

185
186export namespace drizzle {
187 export function mock<TSchema extends Record<string, unknown> = Record<string, never>>(
188 config?: SingleStoreDriverDrizzleConfig<TSchema>,
189 ): SingleStoreDriverDatabase<TSchema> & {
190 $client: '$client is not available on drizzle.mock()';
191 } {
192 return construct({} as any, config) as any;
193 }
194}

Callers

nothing calls this directly

Calls 1

constructFunction · 0.70

Tested by

no test coverage detected