Skip to content

Conversation

@balmoral
Copy link

MongoAdaptorServer#update was using mongo #insert_one which failed when updating an existing model.

Now calls update_one({'_id' => values['_id']}, values, {upsert: true}).

Mongo will find existing model, using Volt's custom id's using this method.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant