I have few schemas under my database, And i want to be able to search for indexes, and drop them if needed.
The issue is that both functions GetIndexes, DropIndex, RenameIndex doesn't work with the current schema when HasIndex works with the m.CurrentSchema(stmt, stmt.Table) and CreateIndex works with m.CurrentTable(stmt)
Description
I have few schemas under my database, And i want to be able to search for indexes, and drop them if needed. The issue is that both functions
GetIndexes
,DropIndex
,RenameIndex
doesn't work with the current schema whenHasIndex
works with them.CurrentSchema(stmt, stmt.Table)
andCreateIndex
works withm.CurrentTable(stmt)