customJson() — drizzle-orm Function Reference
Architecture documentation for the customJson() function in singlestore-custom.test.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD eafa455e_a5da_2610_e0e1_4f0a47679d7c["customJson()"] 1c43a672_9016_4e02_3066_1f8d248addee["singlestore-custom.test.ts"] eafa455e_a5da_2610_e0e1_4f0a47679d7c -->|defined in| 1c43a672_9016_4e02_3066_1f8d248addee style eafa455e_a5da_2610_e0e1_4f0a47679d7c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integration-tests/tests/singlestore/singlestore-custom.test.ts lines 97–105
const customJson = <TData>(name: string) =>
customType<{ data: TData; driverData: string }>({
dataType() {
return 'json';
},
toDriver(value: TData): string {
return JSON.stringify(value);
},
})(name);
Domain
Subdomains
Source
Frequently Asked Questions
What does customJson() do?
customJson() is a function in the drizzle-orm codebase, defined in integration-tests/tests/singlestore/singlestore-custom.test.ts.
Where is customJson() defined?
customJson() is defined in integration-tests/tests/singlestore/singlestore-custom.test.ts at line 97.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free