Mongo shell commands can be executed in console mode. The inputs are directly forwarded to the native mongo shell and are not formatted or modified by the application.
Warnung |
---|
With v1.2.0 has been added a new Feature! The console mode [ C ] is now moved to server side script mode [ S ]. The new console mode [ C ] is now the original client side mongo shell. |
Client side shell
Tipp |
---|
Here you will find a documentation of the Mongo shell commands: http://docs.mongodb.org/manual/core/crud-introduction/ |
Server Side Script
In server side script Mode [ S ] can you execute javascript code directly on the server.
...
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 that have to be included in a function and the result must be returned with the return statement.
...