-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> MongoDB interactive shell client.
Connect to a database:
mongo {database}
Connect to a database running on a given host on a given port:
mongo --host {host} --port {port} {database}
Connect to a database with a given username; user will be prompted for password:
mongo --username {username} {database} --password
Evaluate a JavaScript expression on the database:
mongo --eval '{JSON.stringify(db.foo.findOne())}' {database}
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Fri May 17 18:32:45 2024