Hello,

I would like to have more detail about this note (in bold red in quote
below) :

"SQLTABLE converts the rows into an HTML table with a header containing the
column names and one row per record. The rows are marked as alternating
class "even" and class "odd". Under the hood, Rows is first converted into
a SQLTABLE object (not to be confused with Table) and then serialized. The
values extracted from the database are also formatted by the validators
associated to the field and then escaped. (*Note: Using a db in this way in
a view is usually not considered good MVC practice.*)"

http://web2py.com/books/default/chapter/29/6#Serializing-Rows-in-views

Thanks

Richard

Reply via email to