Skip to content

Opening book details…

About this document

MongoDB Document Operations Guide by Shamanth Edge is a document available to read on EtoBox.

Here are the queries for the scenarios: 1. db.post.find({title: "How Delhi cops quickly ended the riots"}) 2. db.post.find({likes: {$lt: 100}}) 3. db.post.find({likes: {$lte: 100}}) 4. db.post.find({likes: {$gt: 100}}) db.post.find({likes: {$gte: 100}}) db.post.find({likes: {$ne: 100}}) The $lt, $lte, $gt, $gte and $ne operators are used to check for less than, less than or equal to, greater than, greater than

Author
Shamanth Edge
Language
EN