On Thursday, October 12, 2017 at 12:45:05 PM UTC-4, Ricardo Oliveira wrote:
>
> Hi Anthony,
>
> Thanks for your excellent example and explanation.
> You're right about the problem with the field names, luckily the problem 
> occurs only in this example, not in production code, but just out of 
> curiosity, would using "with_alias()" help?
>

The results of .as_dict() get messy with .with_alias(), so you would need a 
slightly different approach.

Anthony

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to