Skip to content
# Class: DropIndexParser

Defined in: packages/core/src/parsers/DropIndexParser.ts:10

Parses DROP INDEX statements.

Constructors

Constructor

new DropIndexParser(): DropIndexParser

Returns

DropIndexParser

Methods

parse()

static parse(sql): DropIndexStatement

Defined in: packages/core/src/parsers/DropIndexParser.ts:11

Parameters

sql

string

Returns

DropIndexStatement


parseFromLexeme()

static parseFromLexeme(lexemes, index): object

Defined in: packages/core/src/parsers/DropIndexParser.ts:21

Parameters

lexemes

Lexeme[]

index

number

Returns

object

value

value: DropIndexStatement

newIndex

newIndex: number

Released under the MIT License.