Class DeleteStatement


  • public final class DeleteStatement
    extends Object
    Represents an "DELETE" sql statement
    • Method Detail

      • from

        public DeleteStatement from​(String tableName)
        Mark the table from which we're going to delete.
        Parameters:
        tableName - the table name
        Returns:
        this instance for chaining
      • where

        public DeleteStatement where​(String[] keys,
                                     Object[] values)
        Mark the sql statement's "where" values
        Parameters:
        keys - keys
        values - values
        Returns:
        this instance for chaining