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

constructor() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  221e4da8_246e_7378_2ae0_a6dd32526dd6["constructor()"]
  11c1c1a7_61a9_1425_3497_81ed6a3dc483["PgJsonb"]
  221e4da8_246e_7378_2ae0_a6dd32526dd6 -->|defined in| 11c1c1a7_61a9_1425_3497_81ed6a3dc483
  b0417e78_6575_0986_2f4a_4ab5f09eaf63["constructor()"]
  b0417e78_6575_0986_2f4a_4ab5f09eaf63 -->|calls| 221e4da8_246e_7378_2ae0_a6dd32526dd6
  b0417e78_6575_0986_2f4a_4ab5f09eaf63["constructor()"]
  221e4da8_246e_7378_2ae0_a6dd32526dd6 -->|calls| b0417e78_6575_0986_2f4a_4ab5f09eaf63
  style 221e4da8_246e_7378_2ae0_a6dd32526dd6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/jsonb.ts lines 34–36

	constructor(table: AnyPgTable<{ name: T['tableName'] }>, config: PgJsonbBuilder<T>['config']) {
		super(table, config);
	}

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