Can I pass in a map in gorm to support range query for numeric or time based values? Like, if I have a column named mileage, make WHERE mileage BETWEEN 100 AND 200 into a map and let gorm do db.Where(map).Find(&cars)
Can I pass in a map in gorm to support range query for numeric or time based values? Like, if I have a column named mileage, make WHERE mileage BETWEEN 100 AND 200 into a map and let gorm do db.Where(map).Find(&cars)