![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | __get__ |
def | __set__ |
![]() | |
def | __init__ |
def | __property_config__ |
def | __get__ |
def | __set__ |
def | default_value |
def | validate |
def | empty |
def | get_value_for_datastore |
def | get_updated_value_for_datastore |
def | make_value_from_datastore_index_value |
def | make_value_from_datastore |
def | datastore_type |
Additional Inherited Members | |
![]() | |
verbose_name | |
name | |
default | |
required | |
validator | |
choices | |
indexed | |
creation_counter | |
model_class | |
![]() | |
int | creation_counter = 0 |
data_type = str | |
The inverse of the Reference property above. We construct reverse references automatically for the model to which the Reference property is pointing to create the one-to-many property for that model. For example, if you put a Reference property in model A that refers to model B, we automatically create a _ReverseReference property in B called a_set that can fetch all of the model A instances that refer to that instance of model B.
def google.appengine.ext.db._ReverseReferenceProperty.__init__ | ( | self, | |
model, | |||
prop | |||
) |
Constructor for reverse reference. Constructor does not take standard values of other property types. Args: model: Model class that this property is a collection of. property: Name of foreign property on referred model that points back to this properties entity.
def google.appengine.ext.db._ReverseReferenceProperty.__get__ | ( | self, | |
model_instance, | |||
model_class | |||
) |
Fetches collection of model instances of this collection property.
def google.appengine.ext.db._ReverseReferenceProperty.__set__ | ( | self, | |
model_instance, | |||
value | |||
) |
Not possible to set a new collection.