-
Notifications
You must be signed in to change notification settings - Fork 4
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
Upsert updates wrong objects in the collection #172
Comments
They shouldn't be matched by BHoM_Guid because those are changing every time the component creating the objects is re-rerun. |
To summarise the discussion under #173, Mongo_Adapter in its current state bears a range of issues that make it virtually unusable for the general case:
Leaving this comment as a reference for the time when there is interest in improving the adapter. |
From discussion with @pawelbaran :
|
Description:
Using Mongo_Adapter in upsert mode
(PushType.UpdateOrCreateOnly
) yields seriously wrong results: due to the fact that the pushed objects are matched by__Tag__
instead ofBHoM_Guid
, any sort of wonderful updates happens - see the test files.Test files:
On SharePoint.
The text was updated successfully, but these errors were encountered: