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

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
  55508565_90f8_8ccb_96d3_3d5a26ba5932["bigint()"]
  197aa0f6_946b_5015_1bde_4ec260833bfa["bigint.ts"]
  55508565_90f8_8ccb_96d3_3d5a26ba5932 -->|defined in| 197aa0f6_946b_5015_1bde_4ec260833bfa
  style 55508565_90f8_8ccb_96d3_3d5a26ba5932 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/columns/bigint.ts lines 113–119

export function bigint(a?: string | SingleStoreBigIntConfig, b?: SingleStoreBigIntConfig) {
	const { name, config } = getColumnNameAndConfig<SingleStoreBigIntConfig>(a, b);
	if (config.mode === 'number') {
		return new SingleStoreBigInt53Builder(name, config.unsigned);
	}
	return new SingleStoreBigInt64Builder(name, config.unsigned);
}

Domain

Subdomains

Frequently Asked Questions

What does bigint() do?
bigint() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/columns/bigint.ts.
Where is bigint() defined?
bigint() is defined in drizzle-orm/src/singlestore-core/columns/bigint.ts at line 113.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free