there is an update in trunk, please see comments here: 
https://groups.google.com/forum/?fromgroups#!topic/web2py/HWy0NuelElA

On Tuesday, June 12, 2012 12:24:48 PM UTC-7, howesc wrote:
>
> and thinking about backward compability, if we start automatically doing 
> projection queries and users don't have the proper indexes the queries will 
> fail until they specify the indexes.  (though it could just be an upgrade 
> step for users to generate the proper indexes).
>
> is there a strong preference between automatic projection queries or user 
> specified?
>
> On Tuesday, June 12, 2012 11:49:16 AM UTC-7, Anthony wrote:
>>
>> It is a requirement that if a list of fields is specific in the 
>>> select(*fields) a superset of those fields be returned. Not a subset and 
>>> not an error. This is because of backward compatibility. We need to detect 
>>> problems with *fields and find a workaround.
>>
>>
>> Or at the very least, make the projection query optional (and not the 
>> default). In that case, the user can be responsible for making sure the 
>> projection query is valid, and if the case does not allow for a projection 
>> query, they can simply get the standard behavior.
>>
>> Anthony
>>
>

Reply via email to