Home / Class/ SingleStoreText Class — drizzle-orm Architecture

SingleStoreText Class — drizzle-orm Architecture

Architecture documentation for the SingleStoreText class in text.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  67b67d43_6cbd_a5ef_9641_e684e69a9b53["SingleStoreText"]
  9089eef6_cfb2_3e4a_c0ee_21c56971c2a8["text.ts"]
  67b67d43_6cbd_a5ef_9641_e684e69a9b53 -->|defined in| 9089eef6_cfb2_3e4a_c0ee_21c56971c2a8
  32dc9a98_6f89_0bb8_60da_232b31b9baf1["getSQLType()"]
  67b67d43_6cbd_a5ef_9641_e684e69a9b53 -->|method| 32dc9a98_6f89_0bb8_60da_232b31b9baf1

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/columns/text.ts lines 46–58

export class SingleStoreText<T extends ColumnBaseConfig<'string', 'SingleStoreText'>>
	extends SingleStoreColumn<T, { textType: SingleStoreTextColumnType; enumValues: T['enumValues'] }>
{
	static override readonly [entityKind]: string = 'SingleStoreText';

	readonly textType: SingleStoreTextColumnType = this.config.textType;

	override readonly enumValues = this.config.enumValues;

	getSQLType(): string {
		return this.textType;
	}
}

Domain

Frequently Asked Questions

What is the SingleStoreText class?
SingleStoreText is a class in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/columns/text.ts.
Where is SingleStoreText defined?
SingleStoreText is defined in drizzle-orm/src/singlestore-core/columns/text.ts at line 46.

Analyze Your Own Codebase

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

Try Supermodel Free