We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If supportsUpsert is set to true and the query upsert=false is sent with a request, upsert is not turned off. See: https://github.com/carbon-io/carbond/blob/master/lib/mongodb/MongoDBCollection.js#L545-L547
supportsUpsert
true
upsert=false
I would expect setting upsert off on the request level to override the setting on the collection level.
The text was updated successfully, but these errors were encountered:
@gregbanks should the query be overriding the collection setting here?
Sorry, something went wrong.
gregbanks
No branches or pull requests
If
supportsUpsert
is set totrue
and the queryupsert=false
is sent with a request, upsert is not turned off. See: https://github.com/carbon-io/carbond/blob/master/lib/mongodb/MongoDBCollection.js#L545-L547I would expect setting upsert off on the request level to override the setting on the collection level.
The text was updated successfully, but these errors were encountered: