在Google App Engine上打开SQLite数据库 [英] Open SQLite database on Google App Engine

查看:97
本文介绍了在Google App Engine上打开SQLite数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

反正有可以在GAE上打开和读取SQLite数据库文件吗?

Is there anyway to open and read a SQLite database file on GAE?

我目前正在以管理员身份将数据库上传到blobstore,并将其公开提供给用户客户端.我只是无法在GAE管理界面中阅读它们.

I am currently uploading dbs to blobstore as admin and serving them publicly to user clients. I just can't read them in the GAE admin interface.

推荐答案

简短的回答,否,目前无法在标准Google App Engine应用程序上使用SQLite数据库.但是,您可以尝试使用 App Engine灵活环境来实现自己的配置>允许通过基础结构自定义来利用自定义库.

Short answer, no it is not possible to use a SQLite database on a standard Google App Engine application as it is not currently supported. However, you can give a try at implementing your own configuration with the App Engine Flexible Environment that allows to take advantage of custom libraries through Infrastructure Customization.

如果您想尝试,请参见以下示例Django

In case you would want to experiment, here is a sample Django application designed to be run with its default SQLite database on the App Engine Flexible Environment. Still, make sure to read the database notice providing alternative data storage options and explaining that SQLite data does not persist upon instance restart.

这篇关于在Google App Engine上打开SQLite数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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