Hello,
I am using PatchOrCreate method like this.souscriptionApi.patchOrCreate(this.subscr).subscribe();
where this.subscr is an object of subscription type.
When inserting the row (insertion is ok in the database), I am getting this message :
(node:13177) DeprecationWarning: collection.insert is deprecated. Use insertOne, insertMany or bulkWrite instead.
What type of issue are you creating?
What version of this module are you using?
Write other if any:
Please add a description for your issue:
Hello, I am using PatchOrCreate method like
this.souscriptionApi.patchOrCreate(this.subscr).subscribe();
where this.subscr is an object of subscription type.When inserting the row (insertion is ok in the database), I am getting this message : (node:13177) DeprecationWarning: collection.insert is deprecated. Use insertOne, insertMany or bulkWrite instead.
Issue seems to be known: https://github.com/strongloop/loopback-connector-mongodb/issues/455