gpt4 book ai didi

python - GQL 获取 ID 字段

转载 作者:太空宇宙 更新时间:2023-11-03 12:52:25 25 4
gpt4 key购买 nike

在 google appengine 上,您可以通过执行如下查询来检索哈希键值

select __key__ from furniture

但 appengine datastore 为每种类型维护了一个很好的自动递增字段 ID。

如何通过查询访问它?

select ID from furniture

没用

最佳答案

你也可以试试

entity.key().id()

关于python - GQL 获取 ID 字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1415553/

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