Home / Type/ PgTimestampConfig Type — drizzle-orm Architecture

PgTimestampConfig Type — drizzle-orm Architecture

Architecture documentation for the PgTimestampConfig type/interface in timestamp.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  b58d5308_92a6_ae92_31b0_75a77ae0fbe0["PgTimestampConfig"]
  a7bcec86_fec9_446d_0dc2_721126dd50c7["timestamp.ts"]
  b58d5308_92a6_ae92_31b0_75a77ae0fbe0 -->|defined in| a7bcec86_fec9_446d_0dc2_721126dd50c7
  style b58d5308_92a6_ae92_31b0_75a77ae0fbe0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/timestamp.ts lines 143–147

export interface PgTimestampConfig<TMode extends 'date' | 'string' = 'date' | 'string'> {
	mode?: TMode;
	precision?: Precision;
	withTimezone?: boolean;
}

Frequently Asked Questions

What is the PgTimestampConfig type?
PgTimestampConfig is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/timestamp.ts.
Where is PgTimestampConfig defined?
PgTimestampConfig is defined in drizzle-orm/src/pg-core/columns/timestamp.ts at line 143.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free