This is probably simple but I can't seem to find it in the SQLobject
documentation.

class Author(SQLObject):
    name = StringCol(length = 255)
    description = StringCol()
    books = MultipleJoin('Book')

dataset = Author.select()
record=get(1)
fieldname = "name"

How do I access the name field in author using fieldname?
In PHP
$record.$fieldname

Thanks
Alvin

Reply via email to