Re: [SQLObject] select() question

2007-06-18 Thread Matt Richardson
On 6/18/07, Jaime Wyant <[EMAIL PROTECTED]> wrote: > I think the rows are truncated to prevent really large objects from printing > hard-to-read representations. > > But, I think you're code may be just a bit off... > > def results(): > row = AttendanceRecord.select () > for i in row: >

Re: [SQLObject] select() question

2007-06-18 Thread Matt Richardson
On 6/18/07, Bill Denney <[EMAIL PROTECTED]> wrote: > Matt Richardson wrote: > > Sorry for what is probably a painfully obvious question, but I can't > > figure out why this: > > > > def results(): > > row = AttendanceRecord.select() > > for i in row: > > print i > > > > produces thi

Re: [SQLObject] select() question

2007-06-18 Thread Jaime Wyant
I think the rows are truncated to prevent really large objects from printing hard-to-read representations. But, I think you're code may be just a bit off... def results(): row = AttendanceRecord.select() for i in row: print i When you call the .select() method, you get a resultset obj

Re: [SQLObject] select() question

2007-06-18 Thread Bill Denney
Matt Richardson wrote: > Sorry for what is probably a painfully obvious question, but I can't > figure out why this: > > def results(): > row = AttendanceRecord.select() > for i in row: > print i > > produces this: > > > > > Specifically, why is each row truncated? I've only been

[SQLObject] select() question

2007-06-18 Thread Matt Richardson
Sorry for what is probably a painfully obvious question, but I can't figure out why this: def results(): row = AttendanceRecord.select() for i in row: print i produces this: Specifically, why is each row truncated? I've only been at sqlobject for a couple of days and I like i