Versionen im Vergleich

Schlüssel

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

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

Tipp

Here you will find a documentation of the Mongo shell commands: http://docs.mongodb.org/manual/core/crud-introduction/

...

Warnung

There is no pager in console mode. Therefore, all records are loaded for each query. Because this can be a very large amount of data in certain circumstances, the results are limited to 100 documents. It is recommended to use the skip () and limit () functions.

Info

Using a single command, the semicolon at the end is optional.

 

You can enter multiple commands . These that have to be included in a function and the result must be returned with the return statement.

...