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
  4496f496_14cb_2ec7_a725_f5708b2dadd4["constructor()"]
  0049cc2c_bbc0_a619_9931_35e0006a0478["PgJsonBuilder"]
  4496f496_14cb_2ec7_a725_f5708b2dadd4 -->|defined in| 0049cc2c_bbc0_a619_9931_35e0006a0478
  5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1["constructor()"]
  5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1 -->|calls| 4496f496_14cb_2ec7_a725_f5708b2dadd4
  5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1["constructor()"]
  4496f496_14cb_2ec7_a725_f5708b2dadd4 -->|calls| 5b6603a2_bbc4_0cbc_ecc6_9a7b8b6b85e1
  style 4496f496_14cb_2ec7_a725_f5708b2dadd4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/json.ts lines 21–23

	constructor(name: T['name']) {
		super(name, 'json', 'PgJson');
	}

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 21.
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