[英]Using Google Cloud Datastore with NDB API?
There is a lot of info on using NDB API with Google App Engine Datastore but I can't find any info on how to use NDB with Google Cloud Datastore. 有关使用NDB API和Google App Engine数据存储区的大量信息,但我找不到有关如何将NDB与Google Cloud Datastore一起使用的任何信息。 The only module I found is googledatastore which is very primitive library.
我发现的唯一模块是googledatastore ,它是非常原始的库。
How is App Engine Datastore different from the Cloud Datastore? App Engine数据存储区与云数据存储区有何不同? Is NDB available for the Cloud Datastore?
NDB是否可用于云数据存储?
NDB support outside of App Engine (using Google Cloud Datastore) is currently in development. App Engine之外的NDB支持(使用Google Cloud Datastore)目前正在开发中。
UPDATE: Check out the NDB
development discussion on GitHub. 更新:查看GitHub上的
NDB
开发讨论 。
You might want to try using gcloud.datastore
( pip install gcloud
). 您可能想尝试使用
gcloud.datastore
( pip install gcloud
)。
Docs: http://googlecloudplatform.github.io/gcloud-python/ 文档: http : //googlecloudplatform.github.io/gcloud-python/
Code: https://github.com/GoogleCloudPlatform/gcloud-python 代码: https : //github.com/GoogleCloudPlatform/gcloud-python
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.