Hi Matija,

Could you please file a bug on the issue tracker to this effect?

Thanks,

Nick Johnson

On Thu, Feb 11, 2010 at 3:57 PM, Matija <[email protected]> wrote:

> Hi, thnx for response.
>
> Same example:
>
> q = GqlQuery("SELECT * FROM A WHERE B = :1", something)
>
> if not cursor_pos is None:
>     q.with_cursor(cursor_pos)
>
> r = q.fetch(limit)
> ....
>
> new_cursor_pos = q.cursor()
>
> First time naturally cursor_pos is not set, but second time when
> cursor_pos is set and query is set with it, new_cursor_pos is same as
> cursor_pos after fetching entities and doing something with them
> (filling json string). Like that it didn't change its position, so my
> application (javascript+gae) enters in no end loop.
>
> So, now when I knew that query cursors should work with entities with
> multivalue properties I tried several variations and I have found that
> there is some problem with GqlQuery.
>
> DOESN'T WORK q = GqlQuery("SELECT * FROM A WHERE B = :1", something)
> DOESN'T WORK q = GqlQuery("SELECT * FROM A")
> WORKS q = A.all()
> WORKS q = A.filter("b =", something)
>
> Now I know how to get around this bug, and you can correct it.
>
> Thank you, Matija.
>
> > Can you provide more details? What happens?
> >
> > -Nick Johnson
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to