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 13d59763_25cd_3965_26ea_67e08989c85d["bigintColumnToSchema()"] 04df2f9f_a1ec_55a9_5392_86b92a0e6555["column.ts"] 13d59763_25cd_3965_26ea_67e08989c85d -->|defined in| 04df2f9f_a1ec_55a9_5392_86b92a0e6555 c3d8e5a3_48ae_8877_650c_206534a04c0c["columnToSchema()"] c3d8e5a3_48ae_8877_650c_206534a04c0c -->|calls| 13d59763_25cd_3965_26ea_67e08989c85d style 13d59763_25cd_3965_26ea_67e08989c85d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-valibot/src/column.ts lines 235–241
function bigintColumnToSchema(column: Column): v.GenericSchema {
const unsigned = column.getSQLType().includes('unsigned');
const min = unsigned ? 0n : CONSTANTS.INT64_MIN;
const max = unsigned ? CONSTANTS.INT64_UNSIGNED_MAX : CONSTANTS.INT64_MAX;
return v.pipe(v.bigint(), v.minValue(min), v.maxValue(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-valibot/src/column.ts.
Where is bigintColumnToSchema() defined?
bigintColumnToSchema() is defined in drizzle-valibot/src/column.ts at line 235.
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