Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRIVERS-2452 Add databaseName field to CommandFailedEvent #1434

Merged
merged 5 commits into from
Jun 21, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ See the `Load Balancer Specification <../load-balancers/load-balancers.rst#event
*/
commandName: String;

/**
* Returns the database name.
*/
databaseName: String;

/**
* Returns the driver generated request id.
*/
Expand Down Expand Up @@ -317,6 +322,11 @@ See the `Load Balancer Specification <../load-balancers/load-balancers.rst#event
*/
commandName: String;

/**
* Returns the database name.
*/
databaseName: String;

/**
* Returns the failure. Based on the language, this SHOULD be a message string, exception
* object, or error document.
Expand Down Expand Up @@ -560,3 +570,4 @@ Changelog
default port 27017 when relevant. Updated suggested unstructured forms of log messages to more
clearly label connection IDs and use more readable server address representations.
:2023-03-23: Updated ``serverConnectionId`` field to be Int64 as long-running servers can return Int64.
:2023-06-13: Added ``databaseName`` field to ``CommandFailedEvent`` and ``CommandSucceededEvent``.
jmikola marked this conversation as resolved.
Show resolved Hide resolved