php - Order of insertion of array values at Amazon DynamoDB -
when adding array @ dynamodb put_item, there way tell preserve order of values of array?
example: i'm adding array("2", "1", "4"), , it's added table 1, 2, 4. don't want dynamo mess array :)
thanks in advance.
no, arrays in dynamodb sets, don't preserve ordering.
best alternative concatenate them string (using delimiter) , inserting string i.e. 2#1#4 , split them when read back.
Comments
Post a Comment