Last active
December 25, 2015 04:59
-
-
Save pjohnson31/6921243 to your computer and use it in GitHub Desktop.
Video Chat Lengths
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.messages.find( {type : 6 , sent : {$gt: 1377993661000 } } ).forEach( function(myDoc) { if (myDoc.chatUserIds && Object.keys(myDoc.chatUserIds).length > 1) { print( new Date(myDoc.sent) + "," + (myDoc.duration) + "\r\n" ); } } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment