How to get help on specific methods in the interactive shell of MongoDB? -


In the interactive shell in MongoDB, db.help () list (all) methods that can The (current) database can be used for reference.

But how do I method db.logout () ?

Calling db can get information about using & Lt; CollectionName & gt; .help () list (selected) is available for archiving.

But how can I do the method db & Lt; CollectionName & gt; .logout () ?

Why db & Lt; CollectionName & gt; .exists () not listed?

calling db & Lt; CollectionName & gt; (). Help () list (all) cursor-function.

But I do not like the method db & Lt; CollectionName & gt; .find () Sort () ?

If you just need to review limited details about the use of a fixed By method, you can type the method without brackets and enter the code to get the javascript For example, type db.c.find and enter (no archive name is available). If you need to get more details about the use of a certain method, then you should read them.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -