Add headers to campaign level counts script

This commit is contained in:
Matt Lott 2015-07-03 13:00:36 -07:00
parent 8d258c6943
commit f50840a11d

View file

@ -3,6 +3,7 @@
// Usage:
// mongo <address>:<port>/<database> <script file> -u <username> -p <password>
print("free premium all campaign");
var cursor = db.campaigns.find({}, {slug: 1, levels: 1});
var allFree = 0;
var allPremium = 0;