Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ALL Postgres Functions. to_timestamp not supported #534

Open
samjewell opened this issue Nov 5, 2024 · 0 comments
Open

Support ALL Postgres Functions. to_timestamp not supported #534

samjewell opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@samjewell
Copy link
Contributor

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.

@samjewell samjewell added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant