Versionen im Vergleich

Schlüssel

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

Each document can be edited individually by clicking on the appropriate "Edit" icon. The processing  editing of the document  occurstakes occurs in text mode.  For saving, there There are several options for saving that are displayed by clicking on the link "Save options". These options can be set globally in the application settings, but you can might override them in every single 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 it to the following syntax:

Codeblock
themeEmacs
languagejs
// einfache Anführungszeichen
_id: ObjectId('53db515f01a0d82015000001')
 
// doppelte Anführungszeichen
_id: ObjectId("53db515f01a0d82015000001")

...

Codeblock
themeEmacs
languagejs
// 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 alsoDouble double or single quotation marks are allowed here.

Hinweis

JavaScript works in milliseconds, UNIX timestamps must be multiplied by 1000 to be correctly converted or displayed.