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

float() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f5ebfefd_02a9_974d_61ed_86a2f8d3c420["float()"]
  8b3c512c_2831_7522_60cb_d72e0a0ce330["float.ts"]
  f5ebfefd_02a9_974d_61ed_86a2f8d3c420 -->|defined in| 8b3c512c_2831_7522_60cb_d72e0a0ce330
  8e528dbe_54c1_3590_68a8_dffec3d804b8["getSQLType()"]
  8e528dbe_54c1_3590_68a8_dffec3d804b8 -->|calls| f5ebfefd_02a9_974d_61ed_86a2f8d3c420
  style f5ebfefd_02a9_974d_61ed_86a2f8d3c420 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore-core/columns/float.ts lines 77–80

export function float(a?: string | SingleStoreFloatConfig, b?: SingleStoreFloatConfig) {
	const { name, config } = getColumnNameAndConfig<SingleStoreFloatConfig>(a, b);
	return new SingleStoreFloatBuilder(name, config);
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does float() do?
float() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/columns/float.ts.
Where is float() defined?
float() is defined in drizzle-orm/src/singlestore-core/columns/float.ts at line 77.
What calls float()?
float() 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