Seems like I was careless, Datastore Viewer is only fetching 1000 entity.
On Friday, November 6, 2015 at 10:20:53 AM UTC+8, LYMLeon wrote:
>
> Hi,
>
> Currently I'm trying to write data from a text file to NDB on local
> datastore using the development web server. I have around ~4200 entity on
> the text file but on the Datastore Viewer, only 1000 entities had been
> loaded.
> The method that I'm using to put the data is:
>
> listOfEntities = []
>
>
> f = open("tagTrend_refine.txt")
> lines = f.readlines()
> f.close()
> for line in lines:
> temp = line.strip().split("\t")
> data = TagRefine(
> tag = temp[0],
> trendData = temp[1]
> )
> listOfEntities.append(data)
> ndb.put_multi(listOfEntities)
>
>
> May I know what the problem is? Am I hitting some kind of write limit of
> NDB?
>
> Thanks a lot.
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/19c4a618-3a8d-43f6-aaef-b554d556cc4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.