Class DropIndex

java.lang.Object
rife.database.queries.DropIndex
All Implemented Interfaces:
Cloneable, Query

public class DropIndex extends Object implements Cloneable
Object representation of a SQL "DROP INDEX" query.

This object may be used to dynamically construct a SQL statement in a database-independent fashion. After it is finished, it may be executed using DbQueryManager.executeUpdate().

Some databases, like MySQL, drop an index in the context of a table. Providing the table makes the query portable to those databases, while it simply isn't emitted for the databases that drop indexes by name alone.

Since:
1.10