5
votes

DynamoDB has following datatypes

Scalar types – Number, String, Binary, Boolean, and Null. Document types – List and Map. Set types – String Set, Number Set, and Binary Set.

what are the corresponding swift datatypes to each of these dynamoDB datatypes.

1

1 Answers

0
votes

For the DynamoDB Number type, it seems you need to use an NSNumber.

I had to figure this out the hard way: Swift DynamoDB Mapper Sending Empty Values