Home / Type/ PgSequenceOptions Type — drizzle-orm Architecture

PgSequenceOptions Type — drizzle-orm Architecture

Architecture documentation for the PgSequenceOptions type/interface in sequence.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  826500f7_0aad_b30e_5333_e336e61ed6c7["PgSequenceOptions"]
  aea8b778_614c_5998_e4b1_03db0d2530da["sequence.ts"]
  826500f7_0aad_b30e_5333_e336e61ed6c7 -->|defined in| aea8b778_614c_5998_e4b1_03db0d2530da
  style 826500f7_0aad_b30e_5333_e336e61ed6c7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/sequence.ts lines 3–10

export type PgSequenceOptions = {
	increment?: number | string;
	minValue?: number | string;
	maxValue?: number | string;
	startWith?: number | string;
	cache?: number | string;
	cycle?: boolean;
};

Frequently Asked Questions

What is the PgSequenceOptions type?
PgSequenceOptions is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/sequence.ts.
Where is PgSequenceOptions defined?
PgSequenceOptions is defined in drizzle-orm/src/pg-core/sequence.ts at line 3.

Analyze Your Own Codebase

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

Try Supermodel Free