public function delete($table, $conditions = [], $types = [])
    {
        return $this->getDisconnectRetry()->run(function () use ($table, $conditions, $types) {
            return $this->newQuery()->delete($table)
                ->where($conditions, $types)
                ->execute();
        });
    }
public function delete($table, $conditions = [], $types = [])
    {
        return $this->getDisconnectRetry()->run(function () use ($table, $conditions, $types) {
            return $this->newQuery()->delete($table)
                ->where($conditions, $types)
                ->execute();
        });
    }
public function delete ( $ table , $ conditions = [ ] , $ types = [ ] ) { return $ this -> getDisconnectRetry ( ) -> run ( function ( ) use ( $ table , $ conditions , $ types ) { return $ this -> newQuery ( ) -> delete ( $ table ) -> where ( $ conditions , $ types ) -> execute ( ) ; } ) ; }
Executes a DELETE statement on the specified table.

@param string $table the table to delete rows from
@param array $conditions conditions to be set for delete statement
@param array $types list of associative array containing the types to be used for casting
@return \Cake\Database\StatementInterface
Executes a DELETE statement on the specified table .