views:

117

answers:

1

Anyone have a good reference guide for GQL (query language for google appengine datastore)?

I find the reference guide on the google appengine site very limited with examples

+1  A: 

The doc is limited because GQL is a very, very simple query language, intended to provided an SQL-like interface on top of protocol buffers. There's not a lot of complexity to it.

The most instructive thing may be to read the GQL source. It's online here. Note in particular how GQL is parsed with a simple, hand-rolled top-down parser.

Dave W. Smith