gpt4 book ai didi

google-app-engine - 从 AppEngine 数据库导出到本地开发数据库?

转载 作者:太空宇宙 更新时间:2023-11-03 15:19:59 25 4
gpt4 key购买 nike

有没有办法将我的 AppEngine 数据库中的数据导出到开发服务器(用于测试目的等)?

最佳答案

是的!查看谷歌的 "Uploading and Downloading Data"

If you'd like to test how your data works with the app before uploading it, you can load it into the development server. Use the --url option to point the tool at the development server URL. For example:

 appcfg.py upload_data --config_file=album_loader.py --filename=album_data.csv --kind=Album --url=http://localhost:8080/remote_api <app-directory>

subsection on uploading and downloading all data也值得一看。

关于google-app-engine - 从 AppEngine 数据库导出到本地开发数据库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1837028/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com