How to install scanfilter in Amazon-Dynamodb for iOS?

I want to install scanfilter when fetching data from Dynamodb. DynamoDBScanRequest * request = [[[DynamoDBScanRequest alloc] initWithTableName: TEST_TABLE_NAME] autorelease];

can any body tell me how can I set a scan filter in the above code?

+4
source share
1 answer

ScanFilter is a dictionary in which keys are attribute names, and values ​​indicate the conditions under which items returned by a scan call must occur. This is similar to the legacy-v1 DynamoDB API. You get access to more functions, such as filter expressions (conditions) in Scan, and higher-level abstractions, such as ObjectMapper , if you use the aws-sdk-ios v2 SDK .

0
source

All Articles