timeConfig() — drizzle-orm Function Reference
Architecture documentation for the timeConfig() function in introspect-pg.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 61ec562c_fa8e_dd0d_c7c0_f887731d9753["timeConfig()"] 71516551_23e3_bf30_27c9_000fb046ef71["introspect-pg.ts"] 61ec562c_fa8e_dd0d_c7c0_f887731d9753 -->|defined in| 71516551_23e3_bf30_27c9_000fb046ef71 7e9ab2b5_7980_e5af_4e4d_69d8d084e595["column()"] 7e9ab2b5_7980_e5af_4e4d_69d8d084e595 -->|calls| 61ec562c_fa8e_dd0d_c7c0_f887731d9753 style 61ec562c_fa8e_dd0d_c7c0_f887731d9753 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/introspect-pg.ts lines 76–86
const timeConfig = (json: { [s: string]: unknown }) => {
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 timeConfig() do?
timeConfig() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/introspect-pg.ts.
Where is timeConfig() defined?
timeConfig() is defined in drizzle-kit/src/introspect-pg.ts at line 76.
What calls timeConfig()?
timeConfig() 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