src/SweetORM/Database/Query.php
public function delete($table = "")
    {
        if (empty($table)) {
            $table = $this->structure->tableName; // @codeCoverageIgnore
        }

        $this->table = $table;
        $this->queryType = self::QUERY_DELETE;

        return $this;
    }
public function delete($table = "")
    {
        if (empty($table)) {
            $table = $this->structure->tableName; // @codeCoverageIgnore
        }

        $this->table = $table;
        $this->queryType = self::QUERY_DELETE;

        return $this;
    }
public function delete ( $ table = "" ) { if ( empty ( $ table ) ) { $ table = $ this -> structure -> tableName ; // @codeCoverageIgnore } $ this -> table = $ table ; $ this -> queryType = self :: QUERY_DELETE ; return $ this ; }
Set mode to Delete

@param string $table Table name
@return Query $this
Set mode to Delete