閱讀774 返回首頁    go 群英


RelationCondition__DataType_API 參考_表格存儲-阿裏雲

單個條件,比如 column_a > 5 等。適用於 ConditionUpdate 和 Filter 功能。

數據結構

  1. message RelationCondition {
  2. required ComparatorType comparator = 1;
  3. required string column_name = 2;
  4. required ColumnValue column_value = 3;
  5. required bool pass_if_missing = 4;
  6. }

comparator:

column_name:

  • 類型:string。

  • 描述:列名稱。

column_value:

pass_if_missing

  • 類型:bool。

  • 描述:當某行的這一列不存在時,設置條件是通過還是未通過。比如條件是 column_a>0,pass_if_missing 是 true,當某一行沒有列 column_a 時,這一行的條件判斷就會通過。

相關操作

ConditionUpdate

PutRow

UpdateRow

DeleteRow

BatchWriteRow

Filter

GetRow

GetRange

BatchGetRow

最後更新:2016-11-23 16:04:13

  上一篇:go PutRowInBatchWriteRowRequest__DataType_API 參考_表格存儲-阿裏雲
  下一篇:go ReservedThroughput__DataType_API 參考_表格存儲-阿裏雲