Can't believe you can not find it. Anyway.... HTH

from sqlobject import *
sqlhub.processConnection = connectionForURI('sqlite:/:memory:')
class Person(SQLObject):
     fname = StringCol()
     mi = StringCol(length=1, default=None)
     lname = StringCol()

Person.createTable()

Person(fname="John", lname="Doe")
Person(fname="Inhahe", lname="Noname")

allRows = Person.select()


HTH.

Petr Jakeš


On Wed, Jan 7, 2009 at 6:32 PM, inhahe <inh...@gmail.com> wrote:

> hi, can somebody tell me how to select or get all records in a table?
> i can't seem to find it in the documentation.  thanks
>
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> sqlobject-discuss mailing list
> sqlobject-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
>
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to