Store one or more entities in the datastore.
google.appengine.api.datastore.Put(
entities, **kwargs
)
The entities may be new or previously existing. For new entities, Put()
will
fill in the app id and key assigned by the datastore.
If the argument is a single Entity, a single Key will be returned. If the
argument is a list of Entity, a list of Keys will be returned.
Args |
entities
|
Entity or list of Entities
|
config
|
Optional Configuration to use for this request, must be specified
as a keyword argument.
|
Returns |
Key or list of Keys
|
Raises |
TransactionFailedError , if the Put could not be committed.
|