Home / Function/ constructor() — drizzle-orm Function Reference

constructor() — drizzle-orm Function Reference

Architecture documentation for the constructor() function in custom.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  42e8b88c_7273_bed0_8419_76c0fa52d9c3["constructor()"]
  0a8e5f5e_c34d_01a3_3b18_845deea5393c["SingleStoreCustomColumnBuilder"]
  42e8b88c_7273_bed0_8419_76c0fa52d9c3 -->|defined in| 0a8e5f5e_c34d_01a3_3b18_845deea5393c
  3279b635_78e1_e2ca_62f1_4fbea071a06d["constructor()"]
  3279b635_78e1_e2ca_62f1_4fbea071a06d -->|calls| 42e8b88c_7273_bed0_8419_76c0fa52d9c3
  3279b635_78e1_e2ca_62f1_4fbea071a06d["constructor()"]
  42e8b88c_7273_bed0_8419_76c0fa52d9c3 -->|calls| 3279b635_78e1_e2ca_62f1_4fbea071a06d
  style 42e8b88c_7273_bed0_8419_76c0fa52d9c3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/columns/custom.ts lines 40–48

	constructor(
		name: T['name'],
		fieldConfig: CustomTypeValues['config'],
		customTypeParams: CustomTypeParams<any>,
	) {
		super(name, 'custom', 'SingleStoreCustomColumn');
		this.config.fieldConfig = fieldConfig;
		this.config.customTypeParams = customTypeParams;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/columns/custom.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/singlestore-core/columns/custom.ts at line 40.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 1 function(s): constructor.

Analyze Your Own Codebase

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

Try Supermodel Free