flattenPull() — drizzle-orm Function Reference
Architecture documentation for the flattenPull() function in utils.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 827ca13a_d3f2_c106_4b6e_0f0b56e44548["flattenPull()"] 09e5bcf1_0f03_3dbd_fbdb_762440f28855["utils.ts"] 827ca13a_d3f2_c106_4b6e_0f0b56e44548 -->|defined in| 09e5bcf1_0f03_3dbd_fbdb_762440f28855 f2b425f7_cbc7_24b4_bcbe_192d9e3373b7["preparePullConfig()"] f2b425f7_cbc7_24b4_bcbe_192d9e3373b7 -->|calls| 827ca13a_d3f2_c106_4b6e_0f0b56e44548 style 827ca13a_d3f2_c106_4b6e_0f0b56e44548 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/cli/commands/utils.ts lines 251–261
const flattenPull = (config: any) => {
if ('dbCredentials' in config) {
const { dbCredentials, introspect, ...rest } = config;
return {
...rest,
...dbCredentials,
casing: introspect?.casing,
};
}
return config;
};
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does flattenPull() do?
flattenPull() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/cli/commands/utils.ts.
Where is flattenPull() defined?
flattenPull() is defined in drizzle-kit/src/cli/commands/utils.ts at line 251.
What calls flattenPull()?
flattenPull() is called by 1 function(s): preparePullConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free