Fetch the specific Model
instance with the given key from the datastore.
google.appengine.ext.db.get(
keys, **kwargs
)
We support Key
objects and string keys (we convert them to Key
objects
automatically).
Args |
keys
|
Key within datastore entity collection to find; or string key; or
list of Keys or string keys.
|
config
|
datastore_rpc.Configuration to use for this request, must be
specified as a keyword argument.
|
Returns |
If a single key was given: a Model instance associated with key
if it exists in the datastore, otherwise None . If a list of keys was
|
given
|
a list where list[i] is the Model instance for keys[i] , or
None if no instance exists.
|