而不是一個單一的StringProperty(), 我想存儲串確實NDB有一個列表屬性
class BlogPost(ndb.Model):
s1 = ndb.StringProperty(required=True)
s2 = ndb.StringProperty(required=True)
s3 = ndb.StringProperty(required=True)
的名單,我寧願去
class BlogPost(ndb.Model):
my_strings = ndb.StringListProperty() # does this exist?
注意它是由程序員來確保列表的長度是3(如果你只想要一個長度爲3的列表) – 2012-08-10 08:48:49