Skip to content

Pass result to query.post() hooks聽#15899

Description

@vkarpov15

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

馃殌 Feature Proposal

Re: #15898, query.post() hooks should receive the query result as a parameter:

query.post(function(result) {
  if (result.deletedCount > 0) {
    // Handle successful delete
  }
});

Motivation

No response

Example

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backwards-breakingenhancementThis issue is a user-facing general improvement that doesn't fix a bug or add a new feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions