It's okay with the field name.

I would like to have field/value.
It's okay to have field with :

for col in rights.sqlmeta.columnList:
     print "column:"+str( " | value:"+str(col)

It returns to me : column:hosts_delete | value:<SOBoolCol hosts_delete>

I tried col.value, but no way.
Have you an idea ? I didn't see docs nor exemple on web.

Thanks a lot !

On Thu, Jul 22, 2010 at 10:47 AM, Julien Syx <> wrote:
Shame on me, it was too late, i was tired :p

That's do the trick.

Thanks Oleg ;-)

On Thu, Jul 22, 2010 at 8:02 AM, Oleg Broytman <> wrote:
On Thu, Jul 22, 2010 at 02:04:21AM +0200, Julien Syx wrote:
> What i want to do is something like this :
> for columns in table:
>     print
> I defined my class like this :
> Class Rights(SQLObject):
> user_view = BoolCol
> ...

print Rights.sqlmeta.columnList
print Rights.sqlmeta.columns
print Rights.sqlmeta.joins
print Rights.sqlmeta.indexes

  See the class sqlmeta in

    Oleg Broytman    
          Programmers don't die, they just GOSUB without RETURN.

This email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit --
sqlobject-discuss mailing list