O'Dane Brissett

Results issues of O'Dane Brissett

Trying to delete puppeteer and I'm encountering the error below. When try to delete using file explorer I get a from saying that a system administrator has to delete. Any...

unconfirmed

I'm using mongoose 5.3.13 When use I use the find() method to retrieve documents, my Array of objects are displayed as below in phone number property. Instead, [ [Object] ]...

I have an express API using an already populated mongoDB and have defined the schema like so: ``` const accountHolderSchema= new mongoose.Schema({ pid: {Type: Number}, accountNumber: {type: String}, relationshipType: {type:...

help

I have an express API using an already populated mongoDB and have defined the schema like so: ``` const accountHolderSchema= new mongoose.Schema({ pid: {Type: Number}, accountNumber: {type: String}, relationshipType: {type:...

Is there a way to prevent adding duplicate documents in an array that only have different timestamps with the $addToSet function? So say i have an array: Schools: [ {...

help

I have the following code and I'm trying to prevent the id field from being returned. However, it is still being returned. Is it a case that cannot be excluded?...

help

I'm trying to find out if there is a maximum amount of schemas that you can use per model? for example: I want to have one product **Model** , with...

help

I want to create an index on __t with collation to ignore case but is does not seem to work. Here's my code: Product.js is my "base" model ```node.js const...

needs clarification

When i specify the readPreference option for `mongoose.connect` i get the following error: `Mongoose default connection error: TypeError: Reduce of empty array with no initial value (node:54808) UnhandledPromiseRejectionWarning: TypeError: Reduce...

Node version `14.15.0` Mongoose version `5.13.5` I get the error below when trying to save a discriminator, any idea as to what could be the root cause? **Model** ``` const...