? Instagram:
? Discord:
In MongoDB comparison operators are used to compare values in query expressions and to filter documents based on the comparison results.
Here is a list of some of the comparison operators available in MongoDB:
eq: This operator tests for equality and returns true if the operands are equal.
ne: This operator tests for inequality and returns true if the operands are not equal.
gt: This operator tests for greater than and returns true if the left operand is greater than the right operand.
gte: This operator tests for greater than or equal to and returns true if the left operand is greater than or equal to the right operand.
lt: This operator tests for less than and returns true if the left operand is less than the right operand.
lte: This operator tests for less than or equal to and returns true if the left operand is less than or equal to the right operand.
0:00 Intro
Источник: rutube.ru