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

constructor() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  484cbc0a_9f7a_171e_32fc_38923043970c["constructor()"]
  9229f0bf_80b1_ed88_8821_5ebb023dd13a["PgRealBuilder"]
  484cbc0a_9f7a_171e_32fc_38923043970c -->|defined in| 9229f0bf_80b1_ed88_8821_5ebb023dd13a
  7492dddb_0c42_0d46_ed89_7d202bf7c57a["constructor()"]
  7492dddb_0c42_0d46_ed89_7d202bf7c57a -->|calls| 484cbc0a_9f7a_171e_32fc_38923043970c
  7492dddb_0c42_0d46_ed89_7d202bf7c57a["constructor()"]
  484cbc0a_9f7a_171e_32fc_38923043970c -->|calls| 7492dddb_0c42_0d46_ed89_7d202bf7c57a
  style 484cbc0a_9f7a_171e_32fc_38923043970c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/real.ts lines 22–25

	constructor(name: T['name'], length?: number) {
		super(name, 'number', 'PgReal');
		this.config.length = length;
	}

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/pg-core/columns/real.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/pg-core/columns/real.ts at line 22.
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