FSharp.Azure.Cosmos 1.0.0

Edit this page

UpsertConcurrentlyBuilder<'T, 'E> Type

Constructors

Constructor Description

UpsertConcurrentlyBuilder(enableContentResponseOnWrite)

Full Usage: UpsertConcurrentlyBuilder(enableContentResponseOnWrite)

Parameters:
    enableContentResponseOnWrite : bool

Returns: UpsertConcurrentlyBuilder<'T, 'E>
enableContentResponseOnWrite : bool
Returns: UpsertConcurrentlyBuilder<'T, 'E>

Instance members

Instance member Description

consistencyLevel consistencyLevel

Full Usage: consistencyLevel consistencyLevel

Parameters:
Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets the operation ConsistencyLevel

consistencyLevel : Nullable<ConsistencyLevel>
Returns: UpsertConcurrentlyOperation<'a, 'b>

enableContentResponseOnWrite enableContentResponseOnWrite

Full Usage: enableContentResponseOnWrite enableContentResponseOnWrite

Parameters:
    enableContentResponseOnWrite : bool

Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets if the response should include the content of the item after the operation

enableContentResponseOnWrite : bool
Returns: UpsertConcurrentlyOperation<'a, 'b>

id id

Full Usage: id id

Parameters:
    id : string

Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets the item being to upsert existing with

id : string
Returns: UpsertConcurrentlyOperation<'a, 'b>

indexingDirective indexingDirective

Full Usage: indexingDirective indexingDirective

Parameters:
Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets the indexing directive

indexingDirective : Nullable<IndexingDirective>
Returns: UpsertConcurrentlyOperation<'a, 'b>

partitionKey partitionKey

Full Usage: partitionKey partitionKey

Parameters:
    partitionKey : string

Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets the partition key

partitionKey : string
Returns: UpsertConcurrentlyOperation<'a, 'b>

partitionKey partitionKey

Full Usage: partitionKey partitionKey

Parameters:
Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets the partition key

partitionKey : PartitionKey
Returns: UpsertConcurrentlyOperation<'a, 'b>

postTrigger trigger

Full Usage: postTrigger trigger

Parameters:
    trigger : string

Returns: UpsertConcurrentlyOperation<'a, 'b>

Adds a trigger to be invoked after the operation

trigger : string
Returns: UpsertConcurrentlyOperation<'a, 'b>

postTriggers triggers

Full Usage: postTriggers triggers

Parameters:
    triggers : string seq

Returns: UpsertConcurrentlyOperation<'a, 'b>

Adds triggers to be invoked after the operation

triggers : string seq
Returns: UpsertConcurrentlyOperation<'a, 'b>

preTrigger trigger

Full Usage: preTrigger trigger

Parameters:
    trigger : string

Returns: UpsertConcurrentlyOperation<'a, 'b>

Adds a trigger to be invoked before the operation

trigger : string
Returns: UpsertConcurrentlyOperation<'a, 'b>

preTriggers triggers

Full Usage: preTriggers triggers

Parameters:
    triggers : string seq

Returns: UpsertConcurrentlyOperation<'a, 'b>

Adds triggers to be invoked before the operation

triggers : string seq
Returns: UpsertConcurrentlyOperation<'a, 'b>

requestOptions options

Full Usage: requestOptions options

Parameters:
Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets the request options

options : ItemRequestOptions
Returns: UpsertConcurrentlyOperation<'a, 'b>

sessionToken sessionToken

Full Usage: sessionToken sessionToken

Parameters:
    sessionToken : string

Returns: UpsertConcurrentlyOperation<'a, 'b>

Sets the session token

sessionToken : string
Returns: UpsertConcurrentlyOperation<'a, 'b>

updateOrCreate update

Full Usage: updateOrCreate update

Parameters:
Returns: UpsertConcurrentlyOperation<'T, 't>

Sets the partition key

update : 'T option -> Async<Result<'T, 't>>
Returns: UpsertConcurrentlyOperation<'T, 't>

this.Yield

Full Usage: this.Yield

Parameters:
    arg0 : 'a

Returns: UpsertConcurrentlyOperation<'T, 'E>
arg0 : 'a
Returns: UpsertConcurrentlyOperation<'T, 'E>