Sorry for the vagueness - here is my query that still returns the entity in 
the legacy Datastore viewer in the By GQL field 

SELECT * FROM Kind where ancestor is key('Kind', 12344567...)

and in the new viewer I get this GQL error

GQL query error
'SELECT * FROM Kind where ancestor is key('Kind', 12344567...) LIMIT 50': 
Encountered "ancestor" at line 1, column 32. Was expecting one of: 
<UNQUOTED_NAME> ... <QUOTED_NAME> ... <NAME_BINDING_SITE> ... 
<POSITION_BINDING_SITE> ... <SINGLE_QUOTE_STRING> ... <DOUBLE_QUOTE_STRING> 
... <INTEGER> ... <DOUBLE> ... "true" ... "false" ... "null" 

On Friday, October 9, 2015 at 2:57:02 PM UTC-7, Patrice (Cloud Platform 
Support) wrote:
>
> Hi Daniel.
>
> What do you mean by "doesn't work"? Is there an error when you run it? or 
> does it run and produces no results? 
>
> As far as I know GQL didn't change between old and new console, so it 
> should still behave as expected. I'll try to reproduce to see what's 
> happening. In the meantime, if you have an error, including it here would 
> be helpful :).
>
> Cheers!
>
> On Friday, October 9, 2015 at 12:04:44 PM UTC-4, Daniel Young wrote:
>>
>> I found like many others being redirected to the the new datastore. My 
>> trusty GQL ancestor query doesn't seem to work anymore
>>
>> select * from <<Kind>> where ancestor is key('Kind', ID)
>>
>> Is there a workaround, is this considered a bug?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/49ff8190-3289-49f3-8cd5-bf87de7bdb17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to