1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Okay cool, so basically the issue was not with the structure of my request but the actual processing of my queryasync. Whereas I was printing the info before the final key was evaluated now I called my print method after the final key was evaluated.
Client.QueryAsync(request, (result) => {
if (result.Exception == null)
{
//previous spot for the foreach loop and the print method.
lastKeyEvaluated = result.Response.LastEvaluatedKey;
if (lastKeyEvaluated != null && lastKeyEvaluated.Count != 0)
{
foreach (Dictionary<string, AttributeValue> item
in result.Response.Items)
{
PrintItem(item);
}
Query(lastKeyEvaluated);
}
else
{
Debug.Log("last one");
}
}
else
{
Debug.Log(result.Exception);
}
});
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an