Hi All,

I am very new to SQLObject and Python. I am trying to use SQLObject to
represent an existing MySQL schema. I have the following code:

...

class Temp(SQLObject):
    class sqlmeta:
        table = "temp"

t = Temp()
tt = t.get(1)



When I hit the 't = Temp()' line a new  empty" entry is put into that table.
All I want to do is read the table into this object, is this possible?

Thanks

 Glenn
<sqlobject-discuss@lists.sourceforge.net>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to