DocumentOperations.

UpsertDocument(string, string, object, string, Nullable<int>) Method

Syntax

public Document UpsertDocument(string database, string collection, object document, string partitionKeyPath = null, Nullable<int> throughput = null)

Parameters

Name Type Description
database string
collection string
document object
partitionKeyPath string
throughput Nullable<int>

Return Value

Type Description
Document