As suggested by Martin, there is no DATEDIFF command for postgres. The workaround is using DATE_PART: ((DATE_PART('day', created_at::timestamp ...
確定! 回上一頁