Home / Class/ SingleStoreSchema Class — drizzle-orm Architecture

SingleStoreSchema Class — drizzle-orm Architecture

Architecture documentation for the SingleStoreSchema class in schema.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  8bb6b098_2da0_8baf_36b8_f0c51d91eafa["SingleStoreSchema"]
  d2f9ca2a_de2d_f335_08a9_7868a285ca50["schema.ts"]
  8bb6b098_2da0_8baf_36b8_f0c51d91eafa -->|defined in| d2f9ca2a_de2d_f335_08a9_7868a285ca50
  b9ca781b_9383_416e_9dd8_d1dbd412f695["constructor()"]
  8bb6b098_2da0_8baf_36b8_f0c51d91eafa -->|method| b9ca781b_9383_416e_9dd8_d1dbd412f695

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/schema.ts lines 5–19

export class SingleStoreSchema<TName extends string = string> {
	static readonly [entityKind]: string = 'SingleStoreSchema';

	constructor(
		public readonly schemaName: TName,
	) {}

	table: SingleStoreTableFn<TName> = (name, columns, extraConfig) => {
		return singlestoreTableWithSchema(name, columns, extraConfig, this.schemaName);
	};
	/*
	view = ((name, columns) => {
		return singlestoreViewWithSchema(name, columns, this.schemaName);
	}) as typeof singlestoreView; */
}

Domain

Frequently Asked Questions

What is the SingleStoreSchema class?
SingleStoreSchema is a class in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/schema.ts.
Where is SingleStoreSchema defined?
SingleStoreSchema is defined in drizzle-orm/src/singlestore-core/schema.ts at line 5.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free