您如何将数据批量上传到Google App Engine数据存储区? [英] How do you upload data in bulk to Google App Engine Datastore?

查看:135
本文介绍了您如何将数据批量上传到Google App Engine数据存储区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有大约4000条记录需要上传到Datastore。



它们目前采用CSV格式。我会很感激,如果有人会
指向我或解释如何将数据批量上传到GAE。

解决方案

您可以使用 bulkloader.py 工具:



附带的bulkloader.py工具可以将数据上传到您的
应用程序的数据存储中。只需
一点设置,就可以从CSV文件创建
新的数据存储实体。



I have about 4000 records that I need to upload to Datastore.

They are currently in CSV format. I'd appreciate if someone would point me to or explain how to upload data in bulk to GAE.

解决方案

You can use the bulkloader.py tool:

The bulkloader.py tool included with the Python SDK can upload data to your application's datastore. With just a little bit of set-up, you can create new datastore entities from CSV files.

这篇关于您如何将数据批量上传到Google App Engine数据存储区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆