Home > git-documentdb > GitDocumentDB > get
#
GitDocumentDB.get() methodGet a JSON document
Signature:#
ParametersParameter | 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()