1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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);
}
});
respondido hace 3 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 7 meses
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año