Edwar D Day
03/31/2022, 8:32 AMDATE_ADD
(https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_date-add) in an sql statement with sqldelight, but sqldelight complains '(', ')', '.', <binary like operator real>, BETWEEN or IN expected, got '6'
The used SQL code: date_add(current_date() , interval 6 month)
Am I doing something wrong or is there a workaround for such a case?alec
03/31/2022, 11:34 AMEdwar D Day
03/31/2022, 1:24 PMmakedate(year(current_date()), dayofyear(current_date()) + 183)
It's of course not accurate, but at least enough for me.alec
03/31/2022, 1:32 PMEdwar D Day
03/31/2022, 1:45 PMalec
03/31/2022, 1:46 PM