On Aug 18, 8:33 am, TZ <zam...@googlemail.com> wrote:
> The column "ID" is generated and filled with consecutive numbers
> automatically. True?

No.  IDs aren't consecutive, and they're not in a "column"; the ID is
a part of the Key, not a property of the datastore entity (strictly
speaking, your actual properties aren't "columns", either, but you can
pretend they are.)

If you really need to use GQL to get entities by their ID, you'll need
to search for something like "WHERE __key__ = Key('board_topic_entry',
20)".  You should get get_by_id() instead, though.

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

Reply via email to