Skip to main content

Home > git-documentdb > CRUDInterface > update

CRUDInterface.update() method#

Signature:
update(_id: string | undefined | null, data: JsonDoc | Uint8Array | string, options?: PutOptions): Promise<PutResultJsonDoc>;

Parameters#

ParameterTypeDescription
_idstring | undefined | null
dataJsonDoc | Uint8Array | string
optionsPutOptions
Returns:

Promise<PutResultJsonDoc >