theuknowner
03/28/2022, 8:35 PMNeedle
03/28/2022, 8:35 PM/title
command!
We have solved your problem?
Click the button below to archive it.Scott P
03/28/2022, 8:38 PMNeedle
03/28/2022, 8:38 PMScott P
03/28/2022, 8:38 PMtheuknowner
03/28/2022, 8:39 PMtheuknowner
03/28/2022, 8:40 PMtheuknowner
03/28/2022, 8:44 PMScott P
03/28/2022, 8:54 PM[0, 1, 2, 3, 4, ..., 450]
? What is the 1 -> 499
and ...29 -> 421
showing us?
If you do a range(30, 100).order('id', {ascending: false})
, do you get results with ID's in the order [100, 99, 98, 97, 96, ..., 33, 32, 31, 30]
?theuknowner
03/28/2022, 8:55 PMtheuknowner
03/28/2022, 8:56 PMtheuknowner
03/28/2022, 8:57 PMgaryaustin
03/28/2022, 8:57 PMtheuknowner
03/28/2022, 8:57 PMtheuknowner
03/28/2022, 8:58 PMgaryaustin
03/28/2022, 8:58 PMtheuknowner
03/28/2022, 8:58 PMtheuknowner
03/28/2022, 8:58 PMtheuknowner
03/28/2022, 8:58 PMtheuknowner
03/28/2022, 9:00 PMgaryaustin
03/28/2022, 9:00 PMtheuknowner
03/28/2022, 9:01 PMScott P
03/28/2022, 9:01 PMdata.reverse()
if you want the indexes reversed?theuknowner
03/28/2022, 9:01 PMScott P
03/28/2022, 9:02 PMtheuknowner
03/28/2022, 9:02 PMtheuknowner
03/28/2022, 9:04 PMtheuknowner
03/28/2022, 9:05 PMgaryaustin
03/28/2022, 9:26 PMtheuknowner
03/28/2022, 10:11 PMtheuknowner
03/28/2022, 10:12 PMtheuknowner
03/28/2022, 10:39 PMgaryaustin
03/28/2022, 10:59 PMtheuknowner
03/28/2022, 11:26 PMgaryaustin
03/28/2022, 11:29 PMgaryaustin
03/28/2022, 11:30 PMtheuknowner
03/28/2022, 11:30 PMtheuknowner
03/28/2022, 11:31 PMtheuknowner
03/28/2022, 11:34 PMgaryaustin
03/28/2022, 11:34 PMtheuknowner
03/28/2022, 11:35 PMtheuknowner
03/28/2022, 11:36 PMgaryaustin
03/29/2022, 12:58 AMAvin
03/29/2022, 11:38 AMselect * from (
select * from cities order by id desc limit 30
) order by id asc
theuknowner
03/29/2022, 11:39 AMtheuknowner
03/29/2022, 11:44 AMgaryaustin
03/29/2022, 12:35 PMtheuknowner
03/29/2022, 12:56 PMgaryaustin
03/29/2022, 1:28 PMtheuknowner
03/29/2022, 1:43 PM