How to insert bulk data in Google App Engine Datastore?

馋奶兔 提交于 2019-12-23 15:08:02

问题


I have some CSV files for cities,state and countries with their ids, names etc. I want to put all this data into Google app engine datastore.

Can someone please suggest an efficient way of doing this on development server as well as on the production server?

Thanks in advance.


回答1:


You're in luck. The functionality you described is baked into appcfg.py:

http://code.google.com/appengine/docs/python/tools/uploadingdata.html



来源:https://stackoverflow.com/questions/3618147/how-to-insert-bulk-data-in-google-app-engine-datastore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!