Home > git-documentdb > GitDocumentDB > get
GitDocumentDB.get() method#
Get a JSON document
Signature:Parameters#
| Parameter | Type | Description |
|---|---|---|
| _id | string | _id is a file path whose extension is omitted. |
Promise<JsonDoc | undefined>
undefined if a specified document does not exist.
JsonDoc may not have _id property when an app other than GitDocumentDB creates it.
This is an alias of GitDocumentDB#rootCollection.get()