db.get is a function of the google datastore api (google.appengine.ext.db) and it will fetch any entity from the datastore given its key.
Have a read of api docs specifically http://code.google.com/appengine/docs/python/datastore/functions.html And its probably worth looking at the getting started section if you dont understand what db.get is doing. Rgds T On Nov 15, 2:04 am, deostroll <[email protected]> wrote: > Don't understand the db.get(some_key) part...why is it possible to do > such a call in the first place...? I mean wht is so special in the db > model we've defined which allows us to do a db.get()...? > > --deostroll -- 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=.
