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

constructor() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1["constructor()"]
  d653799a_baee_dea6_ff41_5ce8e536bfb3["PgJson"]
  5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1 -->|defined in| d653799a_baee_dea6_ff41_5ce8e536bfb3
  4496f496_14cb_2ec7_a725_f5708b2dadd4["constructor()"]
  4496f496_14cb_2ec7_a725_f5708b2dadd4 -->|calls| 5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1
  4496f496_14cb_2ec7_a725_f5708b2dadd4["constructor()"]
  5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1 -->|calls| 4496f496_14cb_2ec7_a725_f5708b2dadd4
  style 5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/json.ts lines 36–38

	constructor(table: AnyPgTable<{ name: T['tableName'] }>, config: PgJsonBuilder<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/json.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/pg-core/columns/json.ts at line 36.
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