Using AWS DynamoDB with Swift 4

Part 4 - Querying for an Existing Score

In this Swift and DynamoDB video tutorial we will first query the database before submitting a new high score for the user. So if the current user’s highest score is less than the most recent score we will update it. If not, we certainly do not want to save a score lower than their previous high.