Skip to content

Instantly share code, notes, and snippets.

@pjohnson31
Last active December 25, 2015 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjohnson31/6921243 to your computer and use it in GitHub Desktop.
Save pjohnson31/6921243 to your computer and use it in GitHub Desktop.
Video Chat Lengths
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