Class DropStatement


  • public final class DropStatement
    extends Object
    Represents a "DROP" sql statement, usually used to delete tables.
    • Method Detail

      • ifExists

        public DropStatement ifExists()
        Marks the statement to execute only if the specified table exists.
        Returns:
        this instance for chaining
      • table

        public DropStatement table​(String tableName)
        Marks the statement to drop the specified table.
        Parameters:
        tableName - the table you want to drop's name.
        Returns:
        this instance for chaining