Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Messages(ndb.Model):
- message = ndb.StringProperty()
- emailid= ndb.StringProperty(indexed=True)
- date = ndb.DateTimeProperty(auto_now_add=True)
- @classmethod
- def query_book(cls,key):
- return cls.query(ancestor=key).order(-cls.date)
- "class asd
- {
- public void fun()
- {
- printf ("hello world!!!");
- }
- } "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement