repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix config formatting
[gitter.git]
/
scripts
/
useful-queries
/
unique-langs.mongo
blob
f8d3dcccace14fd78efc786fdb74c215ddc84358
1
rs.slaveOk()
2
3
var a = db.chatmessages.aggregate([
4
{ $project: { t: '$lang' } },
5
{ $group: { _id: '$t', s: { $sum: 1 } } }
6
]);
7
8
9