DAL Rows and Row from list and dict, respectively

33 views
Skip to first unread message

Lucas

unread,
Jan 11, 2026, 11:51:46 PM (10 days ago) Jan 11
to py4web
hello one and all,

isn't this possible?

from pydal.objects import Rows, Row
qFab = Rows([ Row({'word':'happy', 'letters':'fifnen',}), Row({'word':'day', 'letters':'jfinef',}), ]) 

and then:
for f in qFab:
    w, l = f.word, f.letters
    etc....

I seem to remember doing these sorts of things in web2py.
thank you in advance, Lucas

Alan Etkin

unread,
Jan 15, 2026, 6:40:58 AM (6 days ago) Jan 15
to py4web
HI

Have you tried it in a shell?, doesn't seem to be a documented feature

Regards

Alan

Massimo DiPierro

unread,
Jan 17, 2026, 10:56:27 PM (4 days ago) Jan 17
to py4web
I do not think this was every supported. What is the use case?

Reply all
Reply to author
Forward
0 new messages