bigint() — drizzle-orm Function Reference
Architecture documentation for the bigint() function in bigint.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD edd73a2d_87e5_58e5_5107_c251b1e123ff["bigint()"] 9e45dd50_595c_fce2_0195_02a2865c70ed["bigint.ts"] edd73a2d_87e5_58e5_5107_c251b1e123ff -->|defined in| 9e45dd50_595c_fce2_0195_02a2865c70ed style edd73a2d_87e5_58e5_5107_c251b1e123ff fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-core/columns/bigint.ts lines 104–110
export function bigint(a: string | PgBigIntConfig, b?: PgBigIntConfig) {
const { name, config } = getColumnNameAndConfig<PgBigIntConfig>(a, b);
if (config.mode === 'number') {
return new PgBigInt53Builder(name);
}
return new PgBigInt64Builder(name);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does bigint() do?
bigint() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/bigint.ts.
Where is bigint() defined?
bigint() is defined in drizzle-orm/src/pg-core/columns/bigint.ts at line 104.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free