On Monday, December 20, 2021 at 8:18:43 PM UTC-8 Dave S wrote:
> The code in sqlhtml.py for SQLTABLE has changed along the way from 2.18.5 > to 2.21.1, especially in the way it handles columns. > > Well, actually from 2.14.6, as I appeared to not have run this app in 2.18.5. The problem was not in SQLTABLE, it was in what I'm trying to return. I initialized rowed as follows: rowed = Rows(db) rowed.records = [] and then I chew through some stuff to add rowed.record[0...n] return dict(rowed = rowed, ...) stopped working by 2.18.5, according to beautify(response._vars). Eventually I figured out I needed to copy rows.fields and rows.colnames to rowed. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/6f518c41-56d9-45de-8fb4-fffae4db8df7n%40googlegroups.com.