This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.DocumentDb.
- Assembly
- Cake
.DocumentDb .dll - Namespace
- Cake
.DocumentDb .Requests - Containing Type
- DocumentOperations
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 |
Return Value
Type | Description |
---|---|
Document |