build() — drizzle-orm Function Reference
Architecture documentation for the build() function in jsonb.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD f7355a8f_088b_a873_ee85_3413b358e9b2["build()"] 714e365e_1d93_9dcf_aa37_9b9d17dcbc6e["PgJsonbBuilder"] f7355a8f_088b_a873_ee85_3413b358e9b2 -->|defined in| 714e365e_1d93_9dcf_aa37_9b9d17dcbc6e style f7355a8f_088b_a873_ee85_3413b358e9b2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/jsonb.ts lines 24–28
override build<TTableName extends string>(
table: AnyPgTable<{ name: TTableName }>,
): PgJsonb<MakeColumnConfig<T, TTableName>> {
return new PgJsonb<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/pg-core/columns/jsonb.ts.
Where is build() defined?
build() is defined in drizzle-orm/src/pg-core/columns/jsonb.ts at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free