我正在使用带有 Amazon Web Services 的 iOS SDK
我正在尝试使用以下代码发出扫描请求:
DynamoDBScanRequest *request = [[DynamoDBScanRequest alloc] initWithTableName:self.tableName];
DynamoDBCondition *condition = [[DynamoDBCondition alloc] init];
[condition setComparisonOperator:@"GT"];
NSString *key = [[alertView textFieldAtIndex:0] text]; //Returns NSString @"00610"
[request setScanFilterValue:condition forKey:key];
DynamoDBScanResponse *response = [self.dbClient scan:request];
我收到此错误:
提供的过滤器参数计数不支持尝试的过滤器操作
求大神帮忙解释一下是怎么回事!!!!