gae-datastore

Google App Engine fetch() and print

This is the model: class Rep(db.Model): author = db.UserProperty() replist = db.ListProperty(str) unique = db.ListProperty(str) date = db.DateTimeProperty(auto_now_add=True) I am writing replist to datastore: L = [] rep = Rep() s = self.request.get('sentence') L.append(s) re...

Datastore API Calls vs Datastore Queries

In Quota Details (appengine dashboard) there are two items under the Storage section. Datastore API Calls with a limit of 141,241,791 Datastore Queries with a limit of 417,311,168 What is the difference between these two? And why is the latter's limit 3x larger? ...

What does fetch() fetch in GAE?

This is a follow up to my other question. I thought that mylist = list(Rep().all().fetch(50)) makes mylist a list. But when I try to get its length I get the message self.response.out.write(len(P)) TypeError: object of type 'Rep' has no len() Can anyone explain what I am doing wrong? Rep().replist = L ...