hugsql

chadhs 2019-07-12T20:44:19.024Z

delete from message
where date_created < now() - interval :expire-minutes 'days'
i’m curious how to concat :expire-minutes and days; wrapping both in single quotes doesn’t work but that value must be quoted.