I am adding to the datastore with a for loop like this:
for thing in someList:
# create a db Model named abc
# set some properties of abc
abc.put()
the problem is that my list (someList) has only 30 things in it, yet when I
went to the datastore viewer it showed I have 90 entities in the datastore -
after only running the program once.
Is the put() function supposed to create duplicates? I am experiencing
varying amounts of duplication in both the deployed and the SDK version of
the datastore viewer on each run of the program. Rarely ever do only 30
entities get created as intended.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.