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

getSQLType() — drizzle-orm Function Reference

Architecture documentation for the getSQLType() function in bigint.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  fd52bff6_3fee_fcfd_31a0_840447221f51["getSQLType()"]
  fb6602f9_a717_e119_35e4_c3e1e84b6090["MySqlBigInt64"]
  fd52bff6_3fee_fcfd_31a0_840447221f51 -->|defined in| fb6602f9_a717_e119_35e4_c3e1e84b6090
  5218310d_e9a4_04f0_fcf9_7defd310ac6e["getSQLType()"]
  5218310d_e9a4_04f0_fcf9_7defd310ac6e -->|calls| fd52bff6_3fee_fcfd_31a0_840447221f51
  5218310d_e9a4_04f0_fcf9_7defd310ac6e["getSQLType()"]
  fd52bff6_3fee_fcfd_31a0_840447221f51 -->|calls| 5218310d_e9a4_04f0_fcf9_7defd310ac6e
  style fd52bff6_3fee_fcfd_31a0_840447221f51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/columns/bigint.ts lines 90–92

	getSQLType(): string {
		return `bigint${this.config.unsigned ? ' unsigned' : ''}`;
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does getSQLType() do?
getSQLType() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/columns/bigint.ts.
Where is getSQLType() defined?
getSQLType() is defined in drizzle-orm/src/mysql-core/columns/bigint.ts at line 90.
What does getSQLType() call?
getSQLType() calls 1 function(s): getSQLType.
What calls getSQLType()?
getSQLType() is called by 1 function(s): getSQLType.

Analyze Your Own Codebase

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

Try Supermodel Free