Skip to content

Support ALL Postgres Functions. to_timestamp not supported #534

@samjewell

Description

@samjewell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions