function delete() {

        // if this is an association result or it is limited,
        // create specific result for local rows and execute

        if ( $this->parent_ || isset( $this->limitCount ) ) {

            return $this->primaryResult()->delete();

        }

        return $this->db->delete( $this->table, $this->where, $this->whereParams );

    }
function delete() {

        // if this is an association result or it is limited,
        // create specific result for local rows and execute

        if ( $this->parent_ || isset( $this->limitCount ) ) {

            return $this->primaryResult()->delete();

        }

        return $this->db->delete( $this->table, $this->where, $this->whereParams );

    }
function delete ( ) { // if this is an association result or it is limited, // create specific result for local rows and execute if ( $ this -> parent_ || isset ( $ this -> limitCount ) ) { return $ this -> primaryResult ( ) -> delete ( ) ; } return $ this -> db -> delete ( $ this -> table , $ this -> where , $ this -> whereParams ) ; }
Delete all rows matched by this result

@return \PDOStatement
Delete all rows matched by this result