Questions

Login to create Question


db.collection(...).findOne(...).project is not a function

getting following error with NodeJS MongoDB driver db.collection(...).findOne(...).project is not a function

Views: 86

2 months ago by megamind

show dbs failing on mongo console

show dbs failing with following error on mongo console not authorized on admin to execute command { listDatabases: 1.0 }

Views: 84

2 months ago by megamind

How to create MongoDB index?

How to create MongoDB indexes on single field and multiple fields?

Views: 124

1 year ago by d20160501

How to increment MongoDB Field value?

How to increment MongoDB Field value?

Views: 154

1 year ago by noder

Where can i see the MongoDB logs in MacOS

I have installed MongoDB on MacOS using HomeBrew, where can I see the MongoDB logs in MacOS?

Views: 160

1 year ago by ffc

Exception while adding second text index on MongoDB collection

I am trying to add second text index for searching on my MongoDB collection and it's giving me following error 'already exists with different options'

Views: 218

1 year ago by ffc

What is the default port for mongoDB?


Views: 107

1 year ago by ffc

NodeJS + MongoDB Error: read ECONNRESET Issue

Fixing NodeJs + MongoDB errors due to network glitches

Views: 782

1 year ago by ffc

How to fix 'the server/replset/mongos options are deprecated, all their options are supported at the top level of the options object' in NodeJs

Fixing the warning message while establishing mongoDB connection - the server/replset/mongos options are deprecated, all their options are supported at the top level of the options object

Views: 408

1 year ago by ffc