Skip to main content
Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.CreateTableBuilder#ifNotExists

Kysely dialect for PostgreSQL using the Postgres.js client.
Go to Latest
method kysely.CreateTableBuilder.prototype.ifNotExists
Re-export
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { CreateTableBuilder } = kysely;

Adds the "if not exists" modifier.

If the table already exists, no error is thrown if this method has been called.