binary() — drizzle-orm Function Reference
Architecture documentation for the binary() function in binary.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 33d2eb23_1bac_1c40_05f6_bedb68e200a8["binary()"] 6a43e9bb_7b0f_e453_7491_ad9e1f9bd9e4["binary.ts"] 33d2eb23_1bac_1c40_05f6_bedb68e200a8 -->|defined in| 6a43e9bb_7b0f_e453_7491_ad9e1f9bd9e4 058a9494_1586_a531_ac01_1ef8a1d0e0ee["getSQLType()"] 058a9494_1586_a531_ac01_1ef8a1d0e0ee -->|calls| 33d2eb23_1bac_1c40_05f6_bedb68e200a8 style 33d2eb23_1bac_1c40_05f6_bedb68e200a8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/singlestore-core/columns/binary.ts lines 79–82
export function binary(a?: string | SingleStoreBinaryConfig, b: SingleStoreBinaryConfig = {}) {
const { name, config } = getColumnNameAndConfig<SingleStoreBinaryConfig>(a, b);
return new SingleStoreBinaryBuilder(name, config.length);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does binary() do?
binary() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/singlestore-core/columns/binary.ts.
Where is binary() defined?
binary() is defined in drizzle-orm/src/singlestore-core/columns/binary.ts at line 79.
What calls binary()?
binary() 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