Module

x/kysely_postgrs_js_dialect/deps.ts>kysely.SchemaModule#dropSchema

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

Drop a schema.

Examples

await db.schema
  .dropSchema('some_schema')
  .execute()

Parameters

schema: string