Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Drop an index.

Examples

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

Parameters

indexName: string