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

constructor() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7d04631e_f098_cfac_d8f9_0771e1506e09["constructor()"]
  3b0605db_5ee0_1308_c6f7_9fd05699cd07["PgBigSerial53Builder"]
  7d04631e_f098_cfac_d8f9_0771e1506e09 -->|defined in| 3b0605db_5ee0_1308_c6f7_9fd05699cd07
  06c43952_066c_2577_915b_8ce7f5268034["constructor()"]
  06c43952_066c_2577_915b_8ce7f5268034 -->|calls| 7d04631e_f098_cfac_d8f9_0771e1506e09
  06c43952_066c_2577_915b_8ce7f5268034["constructor()"]
  7d04631e_f098_cfac_d8f9_0771e1506e09 -->|calls| 06c43952_066c_2577_915b_8ce7f5268034
  style 7d04631e_f098_cfac_d8f9_0771e1506e09 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/bigserial.ts lines 32–36

	constructor(name: string) {
		super(name, 'number', 'PgBigSerial53');
		this.config.hasDefault = true;
		this.config.notNull = true;
	}

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