... or create a SQL view with the formats you need...

2013/10/31 Massimo Di Pierro <massimo.dipie...@gmail.com>

> This is a big can of worms. represents will often do recursive selects
> (one per records). When you export all you data in CSV we cannot call it
> for every record.
>
> If that's what you want to do and keep performance, you need to
> de-normalize your database.
>
>
>
> On Thursday, 31 October 2013 00:50:08 UTC-5, weheh wrote:
>>
>> My grid has a bunch of its data created with .represent. I want to export
>> this in CSV format. The export class dumps raw underlying data without the
>> represent values shown by the grid. Is there a way to get export to put out
>> the represented format used by grid? Or do I have to write a custom
>> exporter that loops through all the rows and does lambda substitutions
>> again?
>>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to