Roland Tanglao
About

MongoDB query to export Firefox unanswered questions into a CSV file

Nov 1, 2017

Pontifications

  • 1. MongoDB query to get Firefox unanswered questions into a CSV file (I used 3T MongoChef to run the query and export to CSV; you can also export to JSON), result is in firefox_desktop_only_not_answered_in_72hours_id_created.csv :
db.questions.find(
{"product_id":1, "answered_in_72_hours":false},
 {"id":1, "created":1, "_id":0})

Leave a comment on github

Roland Tanglao

  • Roland Tanglao
  • roland@rolandtanglao.com
  • rtanglao
  • rtanglao

flickr.com/roland, twitter.com/rtanglao #firefox #thunderbird