Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DropIndexBuilder

class DropIndexBuilder implements OperationNodeSource, Compilable {
constructor(props: DropIndexBuilderProps);
$call<T>(func: (qb: this) => T): T;
cascade(): DropIndexBuilder;
compile(): CompiledQuery;
execute(): Promise<void>;
ifExists(): DropIndexBuilder;
on(table: string): DropIndexBuilder;
toOperationNode(): DropIndexNode;
}

§Implements

§Constructors

§
new DropIndexBuilder(props: DropIndexBuilderProps)
[src]

§Methods

§
$call<T>(func: (qb: this) => T): T
[src]

Simply calls the provided function passing this as the only argument. $call returns what the provided function returns.

§
execute(): Promise<void>
[src]
§
on(table: string): DropIndexBuilder
[src]

Specifies the table the index was created for. This is not needed in all dialects.

§
toOperationNode(): DropIndexNode
[src]