src/QueryBuilder.php
public function delete(string $table, $where=''): ?PDOStatement
	{
		// Set the where clause
		if ( ! empty($where))
		{
			$this->where($where);
		}

		return $this->_run('delete', $table);
	}
public function delete(string $table, $where=''): ?PDOStatement
	{
		// Set the where clause
		if ( ! empty($where))
		{
			$this->where($where);
		}

		return $this->_run('delete', $table);
	}
public function delete ( string $ table , $ where = '' ) : ? PDOStatement { // Set the where clause if ( ! empty ( $ where ) ) { $ this -> where ( $ where ) ; } return $ this -> _run ( 'delete' , $ table ) ; }
Deletes data from a table

@param string $table
@param mixed $where
@return PDOStatement
Deletes data from a table