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

Collapse
Posted by Jonathan Ellis on
Actually, db_list_of_lists doesn't do this. It just stuffs all the fields in a row into a list, and puts those lists into the resultant list. (I checked the code in case the description was misleading.) db_custom_list (hopefully) allows you to define what gets put in as a list element, whether it's a concatenation of the list fields or a function call based on them or anything else.

I've found one bug in the above code, which is that $tcl should be "$tcl". And also all the backslashes were taken out of my original post. Isn't this a long-standing bug?