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: ISubscriptionreadonly
reg: RegMethods
private
alterOpts(t: _Transaction, opts: CreateSequenceOptions)alter(t: _Transaction, opts: CreateSequenceOptions | AlterSequenceChange | nil): this
currentValue(t: _Transaction): number
drop(t: _Transaction)
nextValue(t: _Transaction): number
restart(t: _Transaction)
setValue()