Home / Function/ bigintColumnToSchema() — drizzle-orm Function Reference

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
  1b5172eb_3663_bdff_6fd7_d145b1ac0540["bigintColumnToSchema()"]
  03d2f7f9_4592_2641_ed27_5e125e89d737["column.ts"]
  1b5172eb_3663_bdff_6fd7_d145b1ac0540 -->|defined in| 03d2f7f9_4592_2641_ed27_5e125e89d737
  b1c074f5_2da3_d41e_58f2_747e87ddff7d["columnToSchema()"]
  b1c074f5_2da3_d41e_58f2_747e87ddff7d -->|calls| 1b5172eb_3663_bdff_6fd7_d145b1ac0540
  style 1b5172eb_3663_bdff_6fd7_d145b1ac0540 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-arktype/src/column.ts lines 239–242

function bigintColumnToSchema(column: Column): Type {
	const unsigned = column.getSQLType().includes('unsigned');
	return type.bigint.narrow(unsigned ? unsignedBigintNarrow : bigintNarrow);
}

Subdomains

Called By

Frequently Asked Questions

What does bigintColumnToSchema() do?
bigintColumnToSchema() is a function in the drizzle-orm codebase, defined in drizzle-arktype/src/column.ts.
Where is bigintColumnToSchema() defined?
bigintColumnToSchema() is defined in drizzle-arktype/src/column.ts at line 239.
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