DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
mongodb aggregate $filter check if exists
db.test.aggregate({$group:{_id:{$gt:["$field", null]}, count:{$sum:1}}})
PREVIOUS
NEXT
Tagged:
#mongodb
#aggregate
#check
#exists
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit