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

getSQLType() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  0a0b3957_0fa4_c66c_1513_52c06367732c["getSQLType()"]
  4f5fe09d_9969_16cf_82e1_3831babdbea6["PgEnumObjectColumn"]
  0a0b3957_0fa4_c66c_1513_52c06367732c -->|defined in| 4f5fe09d_9969_16cf_82e1_3831babdbea6
  1bf5065c_0f7b_2943_096f_b6695c472459["getSQLType()"]
  1bf5065c_0f7b_2943_096f_b6695c472459 -->|calls| 0a0b3957_0fa4_c66c_1513_52c06367732c
  1bf5065c_0f7b_2943_096f_b6695c472459["getSQLType()"]
  0a0b3957_0fa4_c66c_1513_52c06367732c -->|calls| 1bf5065c_0f7b_2943_096f_b6695c472459
  style 0a0b3957_0fa4_c66c_1513_52c06367732c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/enum.ts lines 68–70

	getSQLType(): string {
		return this.enum.enumName;
	}

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/pg-core/columns/enum.ts.
Where is getSQLType() defined?
getSQLType() is defined in drizzle-orm/src/pg-core/columns/enum.ts at line 68.
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