You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// set /models/ .json like
// or
"idInjection": false,
"forceId": false
// or set
"properties" : {
"id": {
"type": "string",
"mongodb": {dataType: 'ObjectId'}
}
}
// or set in model-config.json
"options": {
"strictObjectIDCoercion": true
}
but still not working
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I research some solutions like
loopback MongoError: E11000 duplicate key error collection: my-db.News index: _id_ dup key
but still not working
The text was updated successfully, but these errors were encountered: