Re: Better access to database search results

2005-04-12 Thread Gabriel Cooper
Simon Brunning wrote: On Apr 12, 2005 4:32 PM, Gabriel Cooper <[EMAIL PROTECTED]> wrote: Usually when I access db search results it's something like this: cursor.execute("select A1,A2,A3,A4 from B where C") for (a1,a2,a3,a4) in cursor.fetchall(): stuff() But sometimes the p

Re: Better access to database search results

2005-04-12 Thread Simon Brunning
On Apr 12, 2005 4:32 PM, Gabriel Cooper <[EMAIL PROTECTED]> wrote: > Usually when I access db search results it's something like this: > > cursor.execute("select A1,A2,A3,A4 from B where C") > for (a1,a2,a3,a4) in cursor.fetchall(): > stuff() > > But sometimes the point at which I use the dat