Advertisement
Guest User

Untitled

a guest
Sep 21st, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. class Messages(ndb.Model):
  2. message = ndb.StringProperty()
  3. emailid= ndb.StringProperty(indexed=True)
  4. date = ndb.DateTimeProperty(auto_now_add=True)
  5. @classmethod
  6. def query_book(cls,key):
  7. return cls.query(ancestor=key).order(-cls.date)
  8.  
  9. "class asd
  10. {
  11. public void fun()
  12. {
  13. printf ("hello world!!!");
  14.  
  15. }
  16.  
  17. } "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement