binaryConfig() — drizzle-orm Function Reference
Architecture documentation for the binaryConfig() function in introspect-mysql.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 682018ab_3853_d867_70fd_b968f8135a7a["binaryConfig()"] 1198bdc6_ac5c_88c0_dda6_b8caf0f5d9fa["introspect-mysql.ts"] 682018ab_3853_d867_70fd_b968f8135a7a -->|defined in| 1198bdc6_ac5c_88c0_dda6_b8caf0f5d9fa ab820e0b_412e_ee12_13bc_dbb2e64f13bb["column()"] ab820e0b_412e_ee12_13bc_dbb2e64f13bb -->|calls| 682018ab_3853_d867_70fd_b968f8135a7a style 682018ab_3853_d867_70fd_b968f8135a7a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/introspect-mysql.ts lines 85–95
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-mysql.ts.
Where is binaryConfig() defined?
binaryConfig() is defined in drizzle-kit/src/introspect-mysql.ts at line 85.
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