I think it should be

db((db.autos.dt<=d1) & (db.autos.dt>=d2)).select()

Reply via email to