Forum OpenACS Development: Response to db_custom_list: v4 DB API extension

Collapse
Posted by Stephen . on
Couldn't this functionality be rolled into db_list? At the moment it just ignores everything but the first column, but it probably should lappend them all and create the flat list you're looking for.

Although it doesn't state so in the documentation db_multirow takes a tcl code block and an if_no_rows code block. The other db_* procs, like db_list, should be the same.

I think these code blocks are the proper place to escape html for the browser rather than the weird @varname;html@ syntax or whatever proposed for 4.3 (no sign...)