Home / Function/ pgSequenceWithSchema() — drizzle-orm Function Reference

pgSequenceWithSchema() — drizzle-orm Function Reference

Architecture documentation for the pgSequenceWithSchema() function in sequence.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  e541dd30_875d_cd87_1fd3_b43f31ab6dd8["pgSequenceWithSchema()"]
  c67b5e95_842f_36c8_80c4_20ed982f5bfe["sequence.ts"]
  e541dd30_875d_cd87_1fd3_b43f31ab6dd8 -->|defined in| c67b5e95_842f_36c8_80c4_20ed982f5bfe
  6166bf39_8a17_f6f1_a4b4_809928581a10["pgSequence()"]
  6166bf39_8a17_f6f1_a4b4_809928581a10 -->|calls| e541dd30_875d_cd87_1fd3_b43f31ab6dd8
  style e541dd30_875d_cd87_1fd3_b43f31ab6dd8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/sequence.ts lines 31–37

export function pgSequenceWithSchema(
	name: string,
	options?: PgSequenceOptions,
	schema?: string,
): PgSequence {
	return new PgSequence(name, options, schema);
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does pgSequenceWithSchema() do?
pgSequenceWithSchema() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/sequence.ts.
Where is pgSequenceWithSchema() defined?
pgSequenceWithSchema() is defined in drizzle-orm/src/pg-core/sequence.ts at line 31.
What calls pgSequenceWithSchema()?
pgSequenceWithSchema() is called by 1 function(s): pgSequence.

Analyze Your Own Codebase

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

Try Supermodel Free