gpt4 book ai didi

python - db.StringListProperty 的 App Engine NDB 替代方案

转载 作者:太空狗 更新时间:2023-10-30 01:45:05 25 4
gpt4 key购买 nike

我需要存储一个有序的字符串列表,我正在尝试开始使用 ndb。以前我使用了 db.StringListProperty。这在 ndb 中不可用,那么推荐的替代方法是什么?看着 ndb types ,我想我需要使用 PickleProperty。有没有更合适的?

最佳答案

ndb.StringProperty(repeated=True)

关于python - db.StringListProperty 的 App Engine NDB 替代方案,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9911006/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com