Read Documents: Part 2

Learn and practice the find and findOne commands to read documents, and use the operators, $gt, $gte, $lt, $lte, $ne, and $nin, in the filter query.

$gt: Greater than (>)

The $gt operator is used to match documents that have a field value greater than provided value.

Let’s insert some tasks with a numeric field value.

Get hands-on with 1200+ tech skills courses.