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

Database

  1. Home>
  2. Database>
  3. Page 3
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
Read more about the article MongoDB query where array length is greater than ‘n’
Database / MongoDB / TipsnTricks

MongoDB query where array length is greater than ‘n’

While working on any project where we may have a requirement to check the size of an array or to get an element whose size is greater or less than…

0 Comments
13th December 2021
Read more about the article Uncaught exception: Error: Updating user failed: User not found
Database / MongoDB / TipsnTricks

Uncaught exception: Error: Updating user failed: User not found

Some time while performing any operation on user like updating user, dropping user or granting or revoking access, we face error like user not found for particular db. Few thing…

0 Comments
6th December 2021
Read more about the article The database name is being accessed by other users Postgres | drop the database with command line in Postgres
Database / TipsnTricks

The database name is being accessed by other users Postgres | drop the database with command line in Postgres

dropdb destroys an existing PostgreSQL database. The user who executes this command must be a database superuser or the owner of the database. dropdb is a wrapper around the SQL command DROP DATABASE. There is no effective…

0 Comments
29th November 2021
Read more about the article Authentication failed Postgress Commandline | pass the password in Postgres command line
Database / TipsnTricks

Authentication failed Postgress Commandline | pass the password in Postgres command line

In the Postgres command line, it always prompts a password if the password is not set. We can avoid this in the following way. Before running any Postgres command-line command…

0 Comments
22nd November 2021
Read more about the article Multiple aggregation pipeline in a single query in MongoDB | Multiple Counts with a single query in MongoDB
Database / MongoDB / TipsnTricks

Multiple aggregation pipeline in a single query in MongoDB | Multiple Counts with a single query in MongoDB

Many time we want run query with in query to get desirable result. MongoDB provide a aggregation operator to achieve result like this. Lets assume we have a collection with…

0 Comments
30th August 2021
Read more about the article How to query MongoDB similar to SQL “Like” operator | SQL “Like” operator in MongoDB
Database / MongoDB / TipsnTricks

How to query MongoDB similar to SQL “Like” operator | SQL “Like” operator in MongoDB

If we want SQL like "Like" operator in Mongo DB for string matching. But in mongo DB there is no such "like" operator instead it has regular expression to achieve…

0 Comments
23rd August 2021
Read more about the article How to extract year and month from date in PostgreSQL
Database / TipsnTricks

How to extract year and month from date in PostgreSQL

There are various way to get year and month from date in PostgreSQL. 1. Extract The extract function retrieves subfields such as year or hour from date/time values. source must be a value expression…

0 Comments
2nd August 2021
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • Go to the next page

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