real() — drizzle-orm Function Reference
Architecture documentation for the real() function in real.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 8bc0da67_7db4_cd9c_5e36_858a09bb65ef["real()"] 9b25ecf6_88cb_2204_b1d5_58f8cc84680c["real.ts"] 8bc0da67_7db4_cd9c_5e36_858a09bb65ef -->|defined in| 9b25ecf6_88cb_2204_b1d5_58f8cc84680c 91d99110_0cf3_c7ea_e773_b6ac4b7962ec["getSQLType()"] 91d99110_0cf3_c7ea_e773_b6ac4b7962ec -->|calls| 8bc0da67_7db4_cd9c_5e36_858a09bb65ef style 8bc0da67_7db4_cd9c_5e36_858a09bb65ef fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/mysql-core/columns/real.ts lines 72–75
export function real(a?: string | MySqlRealConfig, b: MySqlRealConfig = {}) {
const { name, config } = getColumnNameAndConfig<MySqlRealConfig>(a, b);
return new MySqlRealBuilder(name, config);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does real() do?
real() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/columns/real.ts.
Where is real() defined?
real() is defined in drizzle-orm/src/mysql-core/columns/real.ts at line 72.
What calls real()?
real() 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