Each document can be edited individually by clicking on the appropriate "Edit" icon. The processing of the document occurs in text mode. For saving, there are several options that are displayed by clicking on the link "Save options". These options can be set globally in the application settings, but you can override them in every saving-operation. The options are described in more detail here: Settings
Special formattings
ObjectId
If the data type of a field is a MongoDB ObjectId, it is necessary to format it according to the following syntax:
Codeblock | ||||
---|---|---|---|---|
| ||||
// einfache Anführungszeichen _id: ObjectId('53db515f01a0d82015000001') // doppelte Anführungszeichen _id: ObjectId("53db515f01a0d82015000001") |
...
Codeblock | ||||
---|---|---|---|---|
| ||||
// UTC Format start: ISODate('2013-01-30T00:00:00.000Z') // date string start: ISODate('dec 11, 1989') start: ISODate('1989, 12, 11') start: ISODate('1989, 12, 11, 9, 12, 34') // timestamp start: ISODate('629379488000') |
Here also double or single quotation marks are allowed.
Hinweis |
---|
JavaScript works in milliseconds, UNIX timestamps must be multiplied by 1000 to be correctly converted or displayed. |