You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A virtual field defined as the one above is automatically computed for all records when the records are selected:
for row in db(db.item).select():
print(row.total_price)
However, this is not happening. Virtual fields are not included in the selected rows. Works as documented in web2py, which is curious as both use pyDAL.
The documentation says:
A virtual field defined as the one above is automatically computed for all records when the records are selected:
for row in db(db.item).select():
print(row.total_price)
However, this is not happening. Virtual fields are not included in the selected rows. Works as documented in web2py, which is curious as both use pyDAL.
see https://groups.google.com/g/py4web/c/vHvUoXW4fh8/m/-Omdzbi0CQAJ
The text was updated successfully, but these errors were encountered: