阅读背景:

如何从单个查询中检查多个日期的冲突?

来源:互联网 

I'm working on a booking system (in Python-web2py) and I'm trying to optimize my code. The problem is that I have multiple dates (more than 50) and I need to list conflicts for each of those dates. Doing this in a loop is very time-consuming, therefore I'm looking for a query that can do this. Any thoughts? The current clause for checking conflicts is:I'm working on a booking system (in Python-web2




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: