This article explains you how to write a mongo query to perform a LIKE match in MongoDB. Note, MongoDB does not have “LIKE” operator like you have in SQL which can be used in a WHERE clause to search for… Read More!
SQL’s between operator selects values within a given range. The values can be numbers, text, or dates. And we know that the between operator also includes start and end values. Mongo does not have between operator, so let’s see how… Read More!
Comparison query operators provides a way to perform SQL where clause equivalents in MongoDB. This tutorial explains you on how to perform query on specific operators, including syntax and examples. Let us insert the following documents in a collection called… Read More!
When you are trying to insert document in MongoDB collection you might see this SyntaxError: missing } after property list. Problem Statement Let say you are trying to insert the following document in the collection called ‘posts’ using the following… Read More!
When you are trying to insert document in MongoDB collection you might see this Syntax Error : identifier starts immediately after numeric literal @(shell). Problem Statement Let say you have database called “sneppets” and collection called “posts” and you are… Read More!