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

customJson() — drizzle-orm Function Reference

Architecture documentation for the customJson() function in gel-custom.test.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  e844c4d3_81dc_d2b2_b96e_414822de16ed["customJson()"]
  002d7087_5536_1a01_222f_6216abee9f09["gel-custom.test.ts"]
  e844c4d3_81dc_d2b2_b96e_414822de16ed -->|defined in| 002d7087_5536_1a01_222f_6216abee9f09
  style e844c4d3_81dc_d2b2_b96e_414822de16ed fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/gel/gel-custom.test.ts lines 108–113

const customJson = <TData>(name: string) =>
	customType<{ data: TData; driverData: string }>({
		dataType() {
			return 'json';
		},
	})(name);

Domain

Subdomains

Frequently Asked Questions

What does customJson() do?
customJson() is a function in the drizzle-orm codebase, defined in integration-tests/tests/gel/gel-custom.test.ts.
Where is customJson() defined?
customJson() is defined in integration-tests/tests/gel/gel-custom.test.ts at line 108.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free