From: Ian Bicking <ianb@co...> - 2005-10-30 16:35:22
Jeremy Petzold wrote:
> Why does it return as a memory address and not a list?
> When I query the database, I would expect to get a list of records,
> and it seems at first blush to be unintuitive that one needs to
> convert it to a list before assignment.
> What are the benefits to this method?
The objects you get back can be further filtered, ordered, and portions
retrieved from the database. Just like with .select() results. You can
also iterate over them without converting them to a list.
Ian Bicking | ianb@... | http://blog.ianbicking.org