Page 342 of 211,267, showing 20 records out of 4,225,326 total, starting on record 6,821, ending on 6,840
# | Username | Text | |
---|---|---|---|
# | Aug 9th 2008, 05:48 | AD7six | Howard``: got a dba on the team? |
# | Aug 9th 2008, 05:48 | Howard`` | no it's really just me and a friend who helps me run servers |
# | Aug 9th 2008, 05:48 | Howard`` | the idea can work i just need to figure out how to put everything together |
# | Aug 9th 2008, 05:48 | AD7six | Howard``: if not don't over think - forget sharding, forget everything. make it owrk and then just add indexes - which make finding info (find all messages to this user) faster |
# | Aug 9th 2008, 05:49 | AD7six | or rather make it work then make it work better.678 |
# | Aug 9th 2008, 05:49 | Howard`` | alright then |
# | Aug 9th 2008, 05:50 | AD7six | bbl |
# | Aug 9th 2008, 05:50 | Howard`` | Thanks |
# | Aug 9th 2008, 05:50 | Howard`` | ok take care, AD7six |
# | Aug 9th 2008, 05:51 | skua | $ids = array('2','3','4','5'); |
# | Aug 9th 2008, 05:51 | skua | $this->Model->deleteAll(array('id' => $ids) ); |
# | Aug 9th 2008, 05:52 | skua | that should work not ? |
# | Aug 9th 2008, 05:53 | Howard`` | I think you can just save a headache and write $this->Model->id = $ids; then $this->Model->deleteAll |
# | Aug 9th 2008, 05:53 | Howard`` | I've never done it with an array but i'd imagine it would work the same |
# | Aug 9th 2008, 05:53 | Howard`` | you could just use $this->Model->del actually i think |
# | Aug 9th 2008, 05:53 | skua | you mean Model->del($ids) ? |
# | Aug 9th 2008, 05:54 | Howard`` | well you can just set the model ID in cake with $this->Model->id = $ids |
# | Aug 9th 2008, 05:54 | Howard`` | then just $this->Model->del |
# | Aug 9th 2008, 05:54 | Howard`` | should delete those ids |
# | Aug 9th 2008, 05:54 | skua | ah yeah that work's ! |