Created
April 6, 2016 07:27
-
-
Save tqyq/a1e29b0dff16d3292f16c7986e8e156a to your computer and use it in GitHub Desktop.
mongoexport mongodb export data to csv
This file contains hidden or 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
mongoexport -d h5pop_dc -c user -q "{ appid: '56fceb9f340cc5571a8b4567'}" --csv --fields openid,phone --out test.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment