Skip to main content
Module

x/pg_mem/interfaces-private.ts>_ISequence

An in memory postgres DB instance for your unit tests
Go to Latest
interface _ISequence
implements _RelationBase
import { type _ISequence } from "https://deno.land/x/pg_mem@2.6.3/interfaces-private.ts";

Properties

readonly
type: "sequence"

Methods

alter(t: _Transaction, opts: CreateSequenceOptions | AlterSequenceChange): this
nextValue(t: _Transaction): number
restart(t: _Transaction): void
setValue(t: _Transaction, value: number): void
currentValue(t: _Transaction): number
drop(t: _Transaction): void