hi

i am developing an application that uses ReferenceProperty heavily.
When i am trying to dereference, i am getting an timeout exception.

here is my data definition:

class Triples(db.Model):
      subject   =
db.ReferenceProperty(Subjects,collection_name="subj_refs")
      count     = db.IntegerProperty()

class Subjects(db.Model):
    subject = db.StringProperty()


and i am taking a triple and accessing it to get the string version of
subject and this is where i am getting an exception. For certain
subjects, this exception occurs always.

substring = triple.subject.subject



Also i am not using any index. Will adding an index help in this
case ?


Thanks
Ravinder Thakur
--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to