![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | key_for_entity |
![]() | |
def | kind |
![]() | |
def | __new__ |
def | __init__ |
def | key |
def | put |
def | delete |
def | is_saved |
def | has_key |
def | dynamic_properties |
def | instance_properties |
def | parent |
def | parent_key |
def | to_xml |
def | get |
def | get_by_key_name |
def | get_by_id |
def | get_or_insert |
def | all |
def | gql |
def | from_entity |
def | kind |
def | entity_type |
def | properties |
def | fields |
Static Public Attributes | |
string | KIND_NAME = '__entity_group__' |
int | ID = 1 |
tuple | version = db.IntegerProperty(name='__version__') |
![]() | |
string | KIND_NAME = '__BaseMetadata__' |
![]() | |
save = put | |
Model for __entity_group__ metadata (available in HR datastore only). This metadata contains a numeric __version__ property that is guaranteed to increase on every change to the entity group. The version may increase even in the absence of user-visible changes to the entity group. The __entity_group__ entity may not exist None if the entity group was never written to.
def google.appengine.ext.db.metadata.EntityGroup.key_for_entity | ( | cls, | |
entity_or_key | |||
) |
Return the metadata key for the entity group containing entity_or_key. Use this key to get() the __entity_group__ metadata entity for the entity group containing entity_or_key. Args: entity_or_key: a key or entity whose __entity_group__ key you want. Returns: The __entity_group__ key for the entity group containing entity_or_key.