delete() {
        const { session, modelName: table } = this.modelClass;

        this.toModelArray().forEach(
            (model) => model._onDelete() // eslint-disable-line no-underscore-dangle
        );

        session.applyUpdate({
            action: DELETE,
            query: {
                table,
                clauses: this.clauses,
            },
        });

        this._evaluated = false;
    }
Records a deletion of all the objects in this {@link QuerySet} instance.
@return {undefined}