Page 348 of 211,268, showing 20 records out of 4,225,347 total, starting on record 6,941, ending on 6,960
# | Username | Text | |
---|---|---|---|
# | Aug 9th 2008, 08:24 | francky06l | cpierce_: your table is ordered by id initially ... |
# | Aug 9th 2008, 08:24 | cpierce_ | yes |
# | Aug 9th 2008, 08:24 | cpierce_ | could i not use some kind of ->next do do that? |
# | Aug 9th 2008, 08:25 | francky06l | cpierce_: well ..no what would be next except it could be > last_id |
# | Aug 9th 2008, 08:25 | AD7six | cpierce_: see find('neighbors' |
# | Aug 9th 2008, 08:26 | francky06l | cpierce_: I do not remember much of cake 1.1 but something as $this->Model->find(array('id > '.$last_id)), should do it ..You would have to pass the last_id along with your ajax call |
# | Aug 9th 2008, 08:26 | AD7six | in 1.1. findNeighbours |
# | Aug 9th 2008, 08:27 | cpierce_ | francky06l: oh i see what you are saying and then do limit 1 to only get the 1 result... |
# | Aug 9th 2008, 08:27 | cpierce_ | i'm just starting out |
# | Aug 9th 2008, 08:27 | cpierce_ | should i go ahead and go to 1.2 |
# | Aug 9th 2008, 08:28 | AD7six | y |
# | Aug 9th 2008, 08:28 | cpierce_ | i really like how 1.1 works |
# | Aug 9th 2008, 08:28 | cpierce_ | i'm saying for future projects is 1.2 easy too? |
# | Aug 9th 2008, 08:28 | francky06l | cpierce_: I guess find in 1.1 is as find('first' in 1.2 ... But AD7six suggestion is better (did not remember the neigbors in 1.1) |
# | Aug 9th 2008, 08:29 | francky06l | cpierce_: if its a new project you should go for 1.2 .. 1.1 is end of life .. |
# | Aug 9th 2008, 08:29 | AD7six | cpierce_: for future projects 1.2 is obviously a terrible choice. use 0.92 |
# | Aug 9th 2008, 08:29 | cpierce_ | AD7six: your sarcasm speaks tons! |
# | Aug 9th 2008, 08:30 | AD7six | cpierce_: what kind of answer did you expect |
# | Aug 9th 2008, 08:35 | markstory | I'm a fan of 0.6 |
# | Aug 9th 2008, 08:35 | markstory | has a long history of performance. Doesnt' have all the 'bloat' of pagination, and fancy form generation. |