[web2py] Re: new feature: GAE projections

2012-06-16 Thread howesc
someone beat me to it (swamped this week), the attribute is projection now in trunk. On Wednesday, June 13, 2012 12:17:06 PM UTC-7, Anthony wrote: > > Can we simplify to "projection=True" instead of "withprojection=True"? > > Anthony > > On Wednesday, June 13, 2012 2:49:55 PM UTC-4, howesc wrote:

[web2py] Re: new feature: GAE projections

2012-06-13 Thread Anthony
Can we simplify to "projection=True" instead of "withprojection=True"? Anthony On Wednesday, June 13, 2012 2:49:55 PM UTC-4, howesc wrote: > > Hi all, > > in trunk is an update and modification to the projection queries. because > of the extra index potentially needed to run a projection query

[web2py] Re: new feature: GAE projections

2012-06-13 Thread howesc
Hi all, in trunk is an update and modification to the projection queries. because of the extra index potentially needed to run a projection query i updated select on GAE to take an optional attribute 'withprojection' which is a boolean, when True i attempt a projection query. i also implement

[web2py] Re: new feature: GAE projections

2012-06-12 Thread Anthony
> > should projection queries be automatic on GAE, or should there be a select > attribute that specifies that i want a projection query? how hard should > web2py work to check the validity of said query before sending to GAE? > If projection queries are automatic, then the code has to do a r

[web2py] Re: new feature: GAE projections

2012-06-12 Thread howesc
thanks for the suggestion on the ID, i'll send massimo a patch! should projection queries be automatic on GAE, or should there be a select attribute that specifies that i want a projection query? how hard should web2py work to check the validity of said query before sending to GAE? cfh On Su

[web2py] Re: new feature: GAE projections

2012-06-10 Thread Anthony
According to the Google docs ( https://developers.google.com/appengine/docs/python/datastore/queries#Query_Projection), projection queries have the following limitations: - You can only project indexed properties. This means that projecting Text, Blob or other properties explicitly marke