Fire/Sql/Collection.php
public function delete($id)
    {
        $delete = Statement::get(
            'DELETE_OBJECT_INDEX',
            [
                '@collection' => $this->_name,
                '@id' => $this->_connector->quote($id)
            ]
        );
        $delete .= Statement::get(
            'DELETE_OBJECT',
            [
                '@collection' => $this->_name,
                '@id' => $this->_connector->quote($id)
            ]
        );

        $this->_connector->exec($delete);
    }
public function delete($id)
    {
        $delete = Statement::get(
            'DELETE_OBJECT_INDEX',
            [
                '@collection' => $this->_name,
                '@id' => $this->_connector->quote($id)
            ]
        );
        $delete .= Statement::get(
            'DELETE_OBJECT',
            [
                '@collection' => $this->_name,
                '@id' => $this->_connector->quote($id)
            ]
        );

        $this->_connector->exec($delete);
    }
public function delete ( $ id ) { $ delete = Statement :: get ( 'DELETE_OBJECT_INDEX' , [ '@collection' => $ this -> _name , '@id' => $ this -> _connector -> quote ( $ id ) ] ) ; $ delete .= Statement :: get ( 'DELETE_OBJECT' , [ '@collection' => $ this -> _name , '@id' => $ this -> _connector -> quote ( $ id ) ] ) ; $ this -> _connector -> exec ( $ delete ) ; }
Deletes an object from the database.
@param string $id The ID of the object you want to delete
@return void
Deletes an object from the database .