Module

x/nessie/mod.ts>ClientPostgreSQL

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
class ClientPostgreSQL
extends AbstractClient<PostgreSQLClient>
import { ClientPostgreSQL } from "https://dotland.deno.dev/x/nessie@2.0.8/mod.ts";

PostgreSQL client

Constructors

new
ClientPostgreSQL(...params: PostgreSQLClientOptions)

Properties

protected
readonly
QUERY_CREATE_MIGRATION_TABLE
protected
readonly
QUERY_MIGRATION_TABLE_EXISTS
protected
readonly
QUERY_TRANSACTION_COMMIT
protected
readonly
QUERY_TRANSACTION_ROLLBACK
protected
readonly
QUERY_TRANSACTION_START
protected
readonly
QUERY_UPDATE_TIMESTAMPS
dialect: DBDialects

Methods

migrate(amount: AmountMigrateT)
query(query: QueryT)
rollback(amount: AmountRollbackT)
seed(matcher?: string)