我在這個查詢中做錯了什麼?奇怪的appengine查詢結果
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
category ='chirurgia orale'=> category ='chirurgia orale'AND 我認爲這只是錯字。 – zinking
是的,這是一個錯字。抱歉。 –