hugsql

curtis.summers 2019-07-13T21:20:37.026800Z

You can cast a string to an interval, so you'll need to include the days part of it like so: ...now() - :expire::interval and then pass in the parameter like this: {:expire "5 days"}

🦜 1