문제

I want to visualize data from a Google Spreadsheet and I only want to show the last 60 entries. I tried it with:

setQuery('select A, D limit 60');

But it starts from the beginning not from the end in a reverse order. I also played around with offset but I would have to count the entries before that would make sense. Is there an easy way for that?

도움이 되었습니까?

해결책

Thanks to @asgallent, the correct code is:

setQuery('select A, D ORDER BY A DESC limit 60');
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top