maybe im not getting the whole story here, but arent you evaluating  
your property against a string ?

im not a 100% on this but id think youd get different results from  
using < on a string than an integer value. that is if you can even  
make it pass the property's validation..??..


Sent from my iPhone

On 09-05-13, at 02:42, DiveIntoGAE <taogf1...@gmail.com> wrote:

>
> The code is below,  it is always timeout, why? how can i improve it?:
>
> deptId = self.request.get('deptId','01000000')
> deptIdBig = deptId.replace('00','99')
>
> personsInfoQuery = db.Query(BS_EMPLOYEE_BASEINFO).filter('DEPT_ID
>> =', deptId).filter('DEPT_ID <', deptIdBig)
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to