This is still not fixed as of 01/30/2018
On Tuesday, January 22, 2013 at 1:38:29 AM UTC-8, Mandar Vaze wrote:
>
> Just to revive the discussion, if SQLTABLE is passed a headers dict AND
> truncate value, then truncate isn't honored.
>
> e.g
>
> mytable = SQLTABLE(somequery,
> headers={'table.field1': 'Label1', 'table.field2': 'Label2'
> }
> truncate=25)
>
>
>
> On Wednesday, July 20, 2011 5:45:21 AM UTC+5:30, Anthony wrote:
>>
>> On Tuesday, July 19, 2011 7:48:35 PM UTC-4, Carlos wrote:
>>>
>>> So 'truncate' is not being respected when using the previous 'headers'
>>> format (simple dict of strings).
>>>
>>
>> Oh, I see, you're right -- that should be fixed.
>>
>> Anthony
>>
>
> This continues to be broken after 12+ months. May be not enough people are
> using SQLTABLE + truncate combination
>
> Any plans to fix this ?
>
> -Mandar
>
>
>
>
>>
>>
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.