【发布时间】:2011-03-11 11:31:37
【问题描述】:
我有一些具有 StringProperty 的实体,我想查询与子字符串匹配的所有实体。有没有办法只使用 GQL 来做到这一点?
例如,如果我的数据存储区如下所示:
ID/Name question_text
--------------------------------------------------------------
3001 I like to eat chicken.
3020 I only like to eat chicken that is deep fried.
3045 I like filet mignon.
3052 I like cheese.
要查找在 question_text 中包含“鸡”的所有实体,GQL 查询会是什么?
【问题讨论】:
-
您的答案在this post。 ://
标签: google-app-engine gql