Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mongodb greater than field value

collection.find( { $expr: { $gt: [ "$field1" , "$field2" ] } } )
#field1 greater than field2
Source by www.mongodb.com #
 
PREVIOUS NEXT
Tagged: #mongodb #greater #field
ADD COMMENT
Topic
Name
5+2 =