简体   繁体   English

如何通过url获取App Engine数据存储区中的数据

[英]how to get the data in the datastore of App Engine by url

in Google App Engine,after using the makePersistent() to store the data in the datastore,i know how to get the data content by the key using getObjectById(). 在Google App Engine中,在使用makePersistent()将数据存储在数据存储区中之后,我知道如何使用getObjectById()通过键获取数据内容。 but now i wanna to get the data in the datastore by url. 但现在我想通过url获取数据存储区中的数据。 i think the url is created . 我认为网址是创建的。 so the question is how the url can be created to get the data in the datastore 所以问题是如何创建url以获取数据存储区中的数据

I invite you to take a look at titan-files . 我邀请你看看泰坦文件 It's a powerful file-system abstraction on top of the DataStore and/or blob store. 它是DataStore和/或blob存储上的强大文件系统抽象。 I'm using it for a commercial application and so far I've been very happy with it. 我正在将它用于商业应用程序,到目前为止我对它非常满意。

There is no built-in means to access the datastore through URLs. 没有通过URL访问数据存储区的内置方法。 If you choose to, your application can implement URLs that return data from the datastore. 如果您选择,您的应用程序可以实现从数据存储区返回数据的URL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM