Skip to content

'_id' column fix for archiving with mongodb models and schema: true#1601

Open
michael-tomala wants to merge 4 commits intobalderdashy:masterfrom
lama-media:master
Open

'_id' column fix for archiving with mongodb models and schema: true#1601
michael-tomala wants to merge 4 commits intobalderdashy:masterfrom
lama-media:master

Conversation

@michael-tomala
Copy link

When you try to archive record on mongodb, schema: true and 'id' field name (for default _id mongo key), there occur an error, because 'where' criteria are automatically forging to { where: { _id: 'xxxxxx' }}, what is not allowed for scheme: true, because there is no '_id' field.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant