I am a bit puzzled here.

Lets say I have a table called Album and a table called Images. Images
has a field from_album, which points to Album.id. I have a controller
which returns all the entries in Album.
I return db(db.Album.id>0).select(). When I return it like this, there
is nothing special, but if :

albums = db(db.Album.id>0).select()
alblist = []
for row in albums:
    alblist.append(row)

return dict(album=alblist)

I can reference Images like:
album.Images.id

How come ?

Reply via email to