build() — drizzle-orm Function Reference
Architecture documentation for the build() function in json.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 2a09d99b_a69a_4057_b74b_f9cec84d7c54["build()"] d171f16c_7f49_8240_e9db_942c08f3846a["MySqlJsonBuilder"] 2a09d99b_a69a_4057_b74b_f9cec84d7c54 -->|defined in| d171f16c_7f49_8240_e9db_942c08f3846a style 2a09d99b_a69a_4057_b74b_f9cec84d7c54 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/columns/json.ts lines 24–28
override build<TTableName extends string>(
table: AnyMySqlTable<{ name: TTableName }>,
): MySqlJson<MakeColumnConfig<T, TTableName>> {
return new MySqlJson<MakeColumnConfig<T, TTableName>>(table, this.config as ColumnBuilderRuntimeConfig<any, any>);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does build() do?
build() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/columns/json.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/mysql-core/columns/json.ts at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free