Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.SchemaModule#dropView

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method kysely.SchemaModule.prototype.dropView
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { SchemaModule } = kysely;

Drop a view.

Examples

await db.schema
  .dropView('dogs')
  .ifExists()
  .execute()

Parameters

viewName: string