binaryConfig() — drizzle-orm Function Reference
Architecture documentation for the binaryConfig() function in introspect-singlestore.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD f3f4dfe9_d601_3d36_eb03_71d80ddbbb4a["binaryConfig()"] c6b71380_9588_5d06_58bb_e4dc7e505759["introspect-singlestore.ts"] f3f4dfe9_d601_3d36_eb03_71d80ddbbb4a -->|defined in| c6b71380_9588_5d06_58bb_e4dc7e505759 51947dfa_bae7_cdae_5f83_f8740592d45b["column()"] 51947dfa_bae7_cdae_5f83_f8740592d45b -->|calls| f3f4dfe9_d601_3d36_eb03_71d80ddbbb4a style f3f4dfe9_d601_3d36_eb03_71d80ddbbb4a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/introspect-singlestore.ts lines 93–103
const binaryConfig = (json: any) => {
json = Object.fromEntries(Object.entries(json).filter((it) => it[1]));
const keys = Object.keys(json);
if (keys.length === 0) return;
let statement = '{ ';
statement += keys.map((it) => `${it}: ${json[it]}`).join(', ');
statement += ' }';
return statement;
};
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does binaryConfig() do?
binaryConfig() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/introspect-singlestore.ts.
Where is binaryConfig() defined?
binaryConfig() is defined in drizzle-kit/src/introspect-singlestore.ts at line 93.
What calls binaryConfig()?
binaryConfig() is called by 1 function(s): column.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free