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