Skip to content
Singhak
  • Home
  • Tech
    • Javascript
    • Python
    • QnA
    • TipsnTricks
    • Automation
  • Blog
  • Submit Guest Post
  • About me
    • Contact Us
    • Privacy Policy
  • Toggle website search
Menu Close
  • Home
  • Tech
    • Javascript
    • Python
    • QnA
    • TipsnTricks
    • Automation
  • Blog
  • Submit Guest Post
  • About me
    • Contact Us
    • Privacy Policy
  • Toggle website search

mongo

  1. Home>
  2. mongo
Read more about the article mongo.exe not installed in Version 6.0.0+ | mongo not a recognize an internal or external command
Database / MongoDB

mongo.exe not installed in Version 6.0.0+ | mongo not a recognize an internal or external command

The legacy mongo shell is no longer included in server packages as of MongoDB 6.0. mongo has been superseded by the new MongoDB Shell (mongosh) which is available separately: Download and Install mongosh The MongoDB Compass admin…

0 Comments
16th January 2023
Read more about the article Get distinct value from mongo DB
Database / MongoDB

Get distinct value from mongo DB

We have various ways to achieve the result. However, we will discuss here two methods. 1. Distinct db.collection.distinct(field, query, options) Finds the distinct values for a specified field across a…

0 Comments
17th October 2022
Read more about the article Add createdAt and updatedAt in mongoose schema using timstamps | Mongoose Timestamp
Database / MongoDB / TipsnTricks

Add createdAt and updatedAt in mongoose schema using timstamps | Mongoose Timestamp

Mongoose schemas support a timestamps option. If you set timestamps: true, Mongoose will add two properties of type Date to your schema: createdAt: a date representing when this document was createdupdatedAt: a date representing when…

0 Comments
13th June 2022
Read more about the article MongoParseError: options usecreateindex, usefindandmodify are not supported
Database / MongoDB

MongoParseError: options usecreateindex, usefindandmodify are not supported

The error is because of the new version of the mongoose i.e version 6.0.6. useNewUrlParser, useUnifiedTopology, useFindAndModify, and useCreateIndex are no longer supported options. Mongoose 6 always behaves as if useNewUrlParser, useUnifiedTopology, and useCreateIndex are true, and useFindAndModify is false. Please remove…

0 Comments
31st January 2022

Buy Me a Coffee

Follow Us

Join Telegram Channel

Categories

Archives

Subscribe

Recent Posts

  • 🚀 Understanding call(), bind(), and apply() Like a 5th Grader!
  • dirname and filename in nodejs es6 module
  • An import declaration can only be used at the top level of a module
  • 🚀 export vs export default in JavaScript Modules
  • 🚀 Understanding Prototype in JavaScript

Menu

  • Home
  • Submit Post
  • Privacy Policy
  • About me
  • Guest Post Submission
  • Contact Us
Support Me

Buy Me a Coffee

Copyright 2021 - Singhak
pixel