public function delete()
    {
        if (count($this) == 0) {
            return;
        }
        $ids = $this->getPrimaryKeyList();
        $hitman = new $this->className();
        $hitman->in($hitman->getPrimaryKey(), $ids)->delete();
    }
public function delete()
    {
        if (count($this) == 0) {
            return;
        }
        $ids = $this->getPrimaryKeyList();
        $hitman = new $this->className();
        $hitman->in($hitman->getPrimaryKey(), $ids)->delete();
    }
public function delete ( ) { if ( count ( $ this ) == 0 ) { return ; } $ ids = $ this -> getPrimaryKeyList ( ) ; $ hitman = new $ this -> className ( ) ; $ hitman -> in ( $ hitman -> getPrimaryKey ( ) , $ ids ) -> delete ( ) ; }
Functions to operate on all elements of the ResultSet at once
Functions to operate on all elements of the ResultSet at once