What version of Chai are you using?
$ chai version
v0.16.0
What did you do?
I tried to use to_timestamp():
db.Query(`SELECT to_timestamp(1) AS n;`)
And got an error:
no such function: "to_timestamp"
What did you expect to see?
The Docs say:
ChaiSQL SQL API is compatible with PostgreSQL
So I expected ALL the Postgres Date/Time functions and operators (see docs: https://www.postgresql.org/docs/current/functions-datetime.html), but to_timestamp() definitely doesn't exist.