Re: [SQLObject] Newbe Question

2008-01-02 Thread Petr Jakeš
> > Yes, upon creating a new instance SQLObject inserts a new row to the > > table. This is how you populate tables with SQLObject. > > > Is there a way to read the current table in with out inserting anything? > If you go: print Temp.select() you will see the SQL select command. All rows, whic

Re: [SQLObject] Newbe Question

2008-01-02 Thread Glenn MacGregor
Oleg, Thanks for your help. On Jan 2, 2008 5:15 PM, Oleg Broytmann <[EMAIL PROTECTED]> wrote: > On Wed, Jan 02, 2008 at 04:52:27PM -0500, Glenn MacGregor wrote: > > I am very new to SQLObject and Python. > > Welcome! > > > class Temp(SQLObject): > > class sqlmeta: > > table = "temp

Re: [SQLObject] Newbe Question

2008-01-02 Thread Oleg Broytmann
On Wed, Jan 02, 2008 at 04:52:27PM -0500, Glenn MacGregor wrote: > I am very new to SQLObject and Python. Welcome! > class Temp(SQLObject): > class sqlmeta: > table = "temp" > > t = Temp() > tt = t.get(1) tt = Temp.get(1) .get() is a class method - a method that is called on