On Oct 10, 5:47 pm, Andy Freeman <[EMAIL PROTECTED]> wrote:
> That's the section that is incomplete.
> It says that it ignores attributes that begin with _, but it doesn't -
> it uses them in certain circumstances for its own purposes.
Since the documentation, like the rest of App Engine, is still
evolving, I'd suggest listing the attributes on your db.Model sub-
classed instances to see which are defined already:
class MyObject(db.Model):
# your definitions here...
# Later...
anObject = db.GqlQuery("SELECT...", arg)
print dir(anObject) # this gives you a list of all the attributes.
You could also list the attributes in db.Model itself via type(), mro,
etc.
Cheers,
pr3d4t0r
http://www.istheserverup.com
http://www.teslatestament.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---