Friday, April 29, 2011

How to retrieve google appengine entities using their numerical id?

Is it possible to retrieve an entity from google appengine using their numerical IDs and if so how? I tried using:

key = Key.from_path("ModelName", numericalId) m = ModelName.get(key)

but the key generated wasnt correct.

From stackoverflow


Post a Comment