public function update()
    {
        if( !$this->tableName ) {
            throw new LogicException('No table name specified');
        }
        return $this->database->update()
                ->table($this->tableName);
    }
public function update()
    {
        if( !$this->tableName ) {
            throw new LogicException('No table name specified');
        }
        return $this->database->update()
                ->table($this->tableName);
    }
public function update ( ) { if ( ! $ this -> tableName ) { throw new LogicException ( 'No table name specified' ) ; } return $ this -> database -> update ( ) -> table ( $ this -> tableName ) ; }
Update existing rows in the model's table. If no table name is specified an
exception will be thrown

@return Update
@throws LogicException
Update existing rows in the model s table . If no table name is specified an exception will be thrown