datetime_add shows error Could not cast function arguments for datetime_add/3
I couldn't find any examples of datetime_add and assumed it should work in expr.
I was using :naive_datetime at first, and I thought the error was because of that, and changed starts_at attribute to datetime, but it did not work
2 Replies
Solution
:minute
instead of :minutes
so will it work with naive_datetime too?
It did
thanks a lot