我在这个查询中做错了什么?
SELECT * FROM TreatmentPlanDetails
WHERE
accountId = 'ag5zfmRvbW9kZW50d2ViMnIRCxIIQWNjb3VudHMYtcjdAQw' AND
status = 'done' AND
category = 'chirurgia orale' AND
setDoneCalendarEventStartTimestamp >= [timestamp for 6 june 2012] AND
setDoneCalendarEventStartTimestamp <= [timestamp for 11 june 2012] AND
deleteStatus = 'notDeleted'
ORDER BY setDoneCalendarEventStartTimestamp ASC
我没有得到任何记录,我确信有记录满足 where 子句条件。为了获得正确的记录,我必须将时间戳间隔扩大 1 毫秒。正常吗?此外,如果我通过删除类别过滤器来修改此查询,我会得到正确的结果。这绝对是奇怪的。我也在谷歌群组上问过,但我没有得到答案。无论如何,有关详细信息: https ://groups.google.com/forum/?fromgroups#!searchin/google-appengine/query/google-appengine/ixPIvmhCS3g/d4OP91yTkrEJ