Module

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

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

Drop an index.

Examples

await db.schema
  .dropIndex('person_full_name_unique_index')
  .execute()

Parameters

indexName: string