Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Mongo shell commands can be executed in console modeThe inputs are directly forwarded to the native mongo shell and are not formatted or modified by the application.

Info

This is a new feature since version 1.2.0! The former console mode (C) is now moved to server side script mode (S).

...

Warnung

There is no pager in server side script mode. Just as in the mongo shell, there are only 10 records returned. When you type "it", the next 10 records are loaded.

 

...

.

Authentication

If you open a shell for a collection which requires authentication you have to authenticate again in the shell. Use the following commands.

Codeblock
themeEmacs
languagejs
// switch to current database
use my_database
 
// authenticate
db.myCollection.auth('username', 'password')