我尝试通过 GQL 和 JSON API 按日期范围在谷歌数据存储中查找对象。例如,这是我的要求:
SELECT * FROM table WHERE uuid = "test" AND start >= 100 AND end <= 150
但我得到错误:
{ errors:
[ { domain: 'global',
reason: 'INVALID_ARGUMENT',
message: 'can\'t have inequality filters on different properties: [start, end]' } ],
code: 400,
message: 'can\'t have inequality filters on different properties: [start, end]' }
我可以编辑此请求或使用其他方式按日期范围获取对象吗?