你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TransactionalBatchPatchItemRequestOptions.FilterPredicate Property

Definition

Gets or sets condition to be checked before the patch operations in the Azure Cosmos DB service.

public string FilterPredicate { get; set; }
member this.FilterPredicate : string with get, set
Public Property FilterPredicate As String

Property Value

The condition to be checked before execution of operations.

Remarks

Condition can only be a sql statement. Creates a conditional SQL argument which is of format from-clause, the condition has to be within the scope of the document which is supposed to be patched in the particular request. If the condition is satisfied (given document meets the given from-clause SQL statement), the patch transaction will take place otherwise it will be returned with precondition failed.

Applies to