bigintColumnToSchema() — drizzle-orm Function Reference
Architecture documentation for the bigintColumnToSchema() function in column.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 6efc37eb_1d65_5e15_c814_5cf05b47c459["bigintColumnToSchema()"] 56015c82_287b_9f6e_abba_3d7f471c1e5c["column.ts"] 6efc37eb_1d65_5e15_c814_5cf05b47c459 -->|defined in| 56015c82_287b_9f6e_abba_3d7f471c1e5c 06e21ad5_4a79_38ca_ddc3_d0ed3cb1ab5c["columnToSchema()"] 06e21ad5_4a79_38ca_ddc3_d0ed3cb1ab5c -->|calls| 6efc37eb_1d65_5e15_c814_5cf05b47c459 style 6efc37eb_1d65_5e15_c814_5cf05b47c459 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-typebox/src/column.ts lines 250–259
function bigintColumnToSchema(column: Column, t: typeof typebox): TSchema {
const unsigned = column.getSQLType().includes('unsigned');
const min = unsigned ? 0n : CONSTANTS.INT64_MIN;
const max = unsigned ? CONSTANTS.INT64_UNSIGNED_MAX : CONSTANTS.INT64_MAX;
return t.BigInt({
minimum: min,
maximum: max,
});
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does bigintColumnToSchema() do?
bigintColumnToSchema() is a function in the drizzle-orm codebase, defined in drizzle-typebox/src/column.ts.
Where is bigintColumnToSchema() defined?
bigintColumnToSchema() is defined in drizzle-typebox/src/column.ts at line 250.
What calls bigintColumnToSchema()?
bigintColumnToSchema() is called by 1 function(s): columnToSchema.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free