I'm trying to do this, which has a valid where clause (in Postgres) and I get an error in the where clause. (The error is: "No column found with name age")
Since there are no parameters in the where clause, would it be possible to indicate that the parser should treat it as raw sql?
getPostsPublishedThisWeekCnt:
SELECT count(*) FROM Posts
WHERE age(TIMESTAMP 'epoch' + date_created * INTERVAL '1 millisecond') < INTERVAL '1 week'