腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
3
回答
Google App Engine不会将对象放在服务器上,但可以在本地版本上运行
python
、
google-app-engine
、
python-2.7
mygrajj.html')class Car(ndb.Model): CarYear =
ndb.StringProperty
() CarModel =
ndb.StringProperty
() CarPosted = ndb.DateTimePrope
浏览 2
提问于2013-11-09
得票数 1
0
回答
更改
ndb.StringProperty
()
python
、
html
、
google-cloud-platform
如何调整
ndb.StringProperty
()以从select选项中获取值?class Contact(ndb.Model):phone =
ndb.StringProperty
()classselect =
ndb.StringProperty
()def
浏览 0
提问于2017-06-06
得票数 0
1
回答
在google数据存储中存储多值/重复数据的最佳实践是什么?
google-app-engine
、
nosql
、
google-cloud-datastore
我有一个简单的场景,我有4个实体。
浏览 1
提问于2012-08-22
得票数 1
1
回答
试图在JSON抛出时返回ndb模型:"...is而不是JSON可序列化“
python
、
json
、
google-app-engine
我有一个游戏课,如下所示: gameID =
ndb.StringProperty
playerTwo =
ndb.StringProperty
def toJSON(self):
浏览 3
提问于2014-04-15
得票数 0
回答已采纳
1
回答
Django + ndb/GAE:无法正确显示查询结果
django
、
google-app-engine
from google.appengine.ext import ndb class Contact(ndb.Model): address_extra =
ndb.StringProperty
address_city =
ndb.StringProperty
address_state =
ndb.StringPr
浏览 2
提问于2014-04-28
得票数 0
回答已采纳
1
回答
Google Datastore在Python中什么是好的模型
python
、
google-app-engine
、
google-cloud-datastore
、
nosql
你好,我是Datastore和Python的新手,但是我必须对我的数据建模,并将其摄取到google数据存储中,我有点迷路了!例如,我的数据是体育比赛的结果。在一个基本的SQL数据库中,我会有这样的东西:比赛日获胜者IDteam1 IDteam2表:TEAM| IDteam播放器名称播放器诞生播放器位置 因此,我将能够简单地知道所有在比赛中使用某个id的球员的名称。它在数据库中是如何工作的?我必须使用一
浏览 0
提问于2014-08-26
得票数 0
2
回答
更改
NDB字段的属性类型时迁移数据
python
、
google-app-engine
、
app-engine-ndb
假设我最初创建了一个ndb.Model,并希望
更改
字段的ndb属性类型(例如,IntegerProperty到StringProperty),但希望转换存储在该字段中的当前数据,这样就不会丢失该数据。例如,假设我有以下模型: name =
ndb.StringProperty
()我存储了实体的一个实例:c.name = "Porsche" c.production_ye
浏览 0
提问于2013-11-07
得票数 7
回答已采纳
1
回答
Appengine Datastore db和ndb之间的混淆
google-app-engine
、
app-engine-ndb
我正在选修Udacity的网络开发课程,该课程用db.Model授课。我想用ndb来代替。class User(db.Model): pw_hash = db.StringProperty(required = True) def by_name(cls, name): u = Us
浏览 1
提问于2013-11-13
得票数 0
回答已采纳
1
回答
如何从请求中获取json数组,并使用python和GAE在对象中使用它?
python
、
json
、
google-app-engine
、
app-engine-ndb
、
webapp2
这是我的模型: id =
ndb.StringProperty
() date_of_birth =
ndb.StringProperty
() driver_status =
ndb.StringProper
浏览 3
提问于2017-02-10
得票数 0
回答已采纳
3
回答
需要帮助建立一对多关系的ndb.StructuredProperty
python
、
google-app-engine
() address2 =
ndb.StringProperty
() zipCode =
ndb.StringProperty
() fax =
ndb.StringProperty
()website =
ndb.StringProperty
()
浏览 3
提问于2015-02-19
得票数 0
回答已采纳
2
回答
数据存储区App Engine查询祖先python
python
、
google-app-engine
、
google-cloud-datastore
class Team(ndb.Model): d_side =
ndb.StringProperty
() d_name =
ndb.StringProperty
() d_position=
ndb.StringProperty
() d_date =
ndb.Strin
浏览 0
提问于2014-09-04
得票数 0
2
回答
GAE NDB混淆了模型和复制属性
python
、
django
、
google-app-engine
、
google-cloud-datastore
、
app-engine-ndb
到目前为止,我认为我需要为此创建一个模型: parent =
ndb.StringProperty
() slug =
ndb.StringProperty
() content =
ndb.StringProperty
() name =
ndb.StringProperty
(
浏览 9
提问于2016-06-17
得票数 0
回答已采纳
1
回答
Appengine抛出BadRequestError: property.name为空字符串
python
、
google-app-engine
、
google-cloud-datastore
、
app-engine-ndb
我正在创建此模型的一个新实体 somekey = ndb.KeyProperty() start_date = ndb.DateTimeProperty() notes =
ndb.StringProperty
("")
浏览 5
提问于2016-08-16
得票数 0
回答已采纳
2
回答
我应该使用NDB或Search来存储用户模型吗?
python
、
google-app-engine
、
full-text-search
、
google-cloud-datastore
、
gae-search
假设我有ndb中的基本用户模型,具有以下属性:name =
ndb.StringProperty
(默认值=‘’)电子邮件=
ndb.StringProperty
(默认值=‘’)管理= ndb.BooleanProperty(default=False)验证
浏览 2
提问于2015-03-10
得票数 0
回答已采纳
3
回答
Google App Engine数据存储中具有受限列表的模型
google-app-engine
、
nosql
在Google App Engine上,我有一个这样的webapp2模型: first_name = db.StringProperty() languages_spoken = db. ListProperty() 但是,我希望将languages_spoken列表限制为一个选项列表,例如英语、法语和西班牙语,这些选项可以随着时间的推移而变化。对于person、language和person_language表(或类似的表),使用SQL会很容易做到这一点,但在这种情
浏览 0
提问于2012-11-07
得票数 1
回答已采纳
2
回答
应用引擎数据存储实体的自定义密钥
python
、
google-app-engine
、
google-cloud-datastore
所以我尝试这样创建我的实体类 id = ndb.KeyProperty(required=True)class Word(ndb.Model): definition =
ndb.StringProperty
浏览 37
提问于2021-05-23
得票数 0
1
回答
关于GAE中“递归NameError”的讨论
google-app-engine
、
google-cloud-datastore
、
app-engine-ndb
() sport =
ndb.StringProperty
() add_player_id =
ndb.StringProperty
() add_player_team =
ndb.StringPro
浏览 3
提问于2013-09-27
得票数 1
回答已采纳
1
回答
GAE:构建模型数据存储的最佳实践是什么
python-2.7
、
google-app-engine
、
data-structures
、
nosql
、
google-cloud-datastore
我有以下模型: first_name =
ndb.StringProperty
() email =
ndb.StringProperty
() org_name =
ndb.StringProperty
() org_
浏览 2
提问于2019-02-28
得票数 0
2
回答
为什么我在中没有得到属性X?
python
、
google-app-engine
location_code_new =
ndb.StringProperty
(indexed=True) location_wd_id =
ndb.StringProperty
(indexed=True) location_street =
ndb.StringP
浏览 3
提问于2015-08-03
得票数 0
回答已采纳
1
回答
如何在GAE Python NDB中获取最新数据
python
、
google-app-engine
、
google-cloud-datastore
、
app-engine-ndb
我有两个根实体: subject =
ndb.StringProperty
() identifier =
ndb.StringProperty
() year =
ndb.StringPrope
浏览 1
提问于2014-02-01
得票数 2
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券