cacheable=True is a newish option to selects right?  i've not yet used 
it....and had forgotten about it.

cfh

On Monday, February 18, 2013 7:17:02 AM UTC-8, Niphlod wrote:
>
> cacheable=True does not help ?
>
> On Monday, February 18, 2013 4:11:13 PM UTC+1, howesc wrote:
>>
>> ah yes....
>>
>> the Rows() object returned from a select is not pickable.
>>
>> i do this a lot:
>>
>>     students = cache.ram('students',
>>                         lambda:db(db.student.id>0).select(db.student.id, 
>>                             db.student.family_name,
>>                             ...
>>                             db.student.student_age).to_dict(),
>>                         3600)
>>
>>
>> On Sunday, February 17, 2013 10:09:18 PM UTC-8, Andy W wrote:
>>>
>>> Thanks for the feedback Christian.
>>>
>>> It seems to be this that causes the problem on GAE but works on sqlite:
>>>
>>>     students = cache.ram('students',
>>>                         lambda:db(db.student.id>0).select(db.student.id
>>> , 
>>>                             db.student.family_name,
>>>                             ...
>>>                             db.student.student_age),
>>>                         3600)
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>> Andy
>>>
>>>>
>>>>>

-- 

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


Reply via email to