Re:Records: Python library for making raw SQL queries to Pos...
by hobarrera on Sunday February 07, 2016 @08:02PM
(#11055858)
That's because attribute names can't be called "$", so `sometuple.$` would be a syntax violation.
[ Parent
| on HN ]
Re:Records: Python library for making raw SQL queries to Pos...
by EmanueleAina on Tuesday February 09, 2016 @06:53AM
(#11064678)
I guess everyone is aware of that, thanks,
The parent comments were discussing why choosing dicts over namedtuples for db-originated columns, and the fact that field names are restricted on namedtuples but not on dicts is a very compelling point.
Making examples usind dicts and explaining why namedtuples have restrictions is completely missing the point.