Query google app engine datastore for all entities
问题 Given this model class class Student(ndb.Model): student_id = ndb.IntegerProperty(required=True) student_name = ndb.StringProperty(required=True) score=ndb.IntegerProperty(required=True) def toJSON(self): jsonData = { "Student Id":str(self.student_id), "Name":self.student_name, "Score": str(self.score) } return json.encode(jsonData) I am trying to run a query to return all the student names, along with the score for each student in JSON format. I already ran a query on the datastore and was