Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pg_mem/schema/sequence.ts>Sequence

An in memory postgres DB instance for your unit tests
Latest
class Sequence
implements _ISequence
import { Sequence } from "https://deno.land/x/pg_mem@3.0.3/schema/sequence.ts";

Constructors

new
Sequence(name: string, ownerSchema: _ISchema)

Properties

private
cfg: { start?: number; max?: number; min?: number; cycle?: boolean; inc?: number; dataType?: _IType; }
private
optional
owner: ISubscription
private
symbol: symbol
readonly
cycle
readonly
dataType
readonly
inc
readonly
max
readonly
min
readonly
reg: Reg
readonly
start
readonly
type: "sequence"