-
-
Save ianf-mongodb/ae63443e373a99812dde6db51bd64d2a to your computer and use it in GitHub Desktop.
This file contains 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
(base) ➜ downloads mongosh | |
Current Mongosh Log ID: 65b3d6c40974054130e4b2a6 | |
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.1 | |
(node:22387) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. | |
(Use `node --trace-deprecation ...` to show where the warning was created) | |
Using MongoDB: 7.0.0-rc0 | |
Using Mongosh: 2.1.1 | |
For mongosh info see: https://docs.mongodb.com/mongodb-shell/ | |
------ | |
The server generated these startup warnings when booting | |
2024-01-18T09:47:58.326-05:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted | |
2024-01-18T09:47:58.327-05:00: Soft rlimits for open file descriptors too low | |
------ | |
Warning: Found ~/.mongorc.js, but not ~/.mongoshrc.js. ~/.mongorc.js will not be loaded. | |
You may want to copy or rename ~/.mongorc.js to ~/.mongoshrc.js. | |
test> db.collection.find.help() | |
db.collection.find(query, projection): | |
Selects documents in a collection or view. | |
For more information on usage: https://docs.mongodb.com/manual/reference/method/db.collection.find |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment