mongoexport

Produce exports of data stored in a MongoDB instance formatted as JSON or CSV.

=> More information.

mongoexport --uri={connection_string} --collection={collection_name}
mongoexport --db={database_name} --collection={collection_name} --query="{query_object}" --out={path/to/file.json}
mongoexport --collection={collection_name} --jsonArray
mongoexport --collection={collection_name} --type={csv} --fields="{field1,field2,...}" --out={path/to/file.csv}
mongoexport --collection={collection_name} --type={csv} --fields="{field1,field2,...}" --queryFile={path/to/file} --noHeaderLine --out={path/to/file.csv}
mongoexport --uri={mongodb_uri} --collection={collection_name} --pretty
mongoexport --help
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

=> CC-BY

Proxy Information
Original URL
gemini://freeshell.de/tldr/mongoexport.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
135.82998 milliseconds
Gemini-to-HTML Time
0.550706 milliseconds

This content has been proxied by September (3851b).