1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
If your API call is a Query
then when the user clicks on the last row, you simply set ScanIndexForward
to False
, this reverses the order of the Query
:
If you are doing a Scan
with a limit, then you would need to be a little smarter about things. You would need to break your table up into segments, then use a segmented Scan
to get the last portion of data, for example:
aws dynamodb scan \
--table-name MusicCollection \
--total-segments 4 \
--segment 3
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 9 mesi fa
- AWS UFFICIALEAggiornata un anno fa