Duplicate of "how does one get a count of rows in a datastore model in google appengine?"
I want to know how many users I have. Previously, I achieved this with the following code:
users = UserStore.all()
user_count = users.count()
But now I have more than 1,000 users and this method continues to return 1,000.
Is there an efficient programmatic way of knowing how many users I have?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…