适用于db.StringListProperty的App Engine NDB替代方案

use*_*331 4 python google-app-engine google-cloud-datastore

我需要存储一个有序的字符串列表,我正在尝试开始使用ndb.以前我使用过db.StringListProperty.但这在ndb中不可用,那么建议的替代方案是什么?看一下ndb类型,我想我需要使用PickleProperty.有什么更合适的吗?

asc*_*d00 15

ndb.StringProperty(repeated=True)
Run Code Online (Sandbox Code Playgroud)

  • 请查看备忘单,其中包含以下信息:https://docs.google.com/document/d/1AefylbadN456_Z7BZOpZEXDq8cR8LYu7QgI7bt5V0Iw/edit (4认同)