Skip to content

Support for CockroachDB temporal queries #952

Open
@pierreis

Description

@pierreis

If you're having a generation problem please answer these questions before submitting your issue. Thanks!

What version of SQLBoiler are you using (sqlboiler --version)?

v4.5.0

What is your database and version (eg. Postgresql 10)

CockroachDB v20.2.9

If this happened at generation time what was the full SQLBoiler command you used to generate your models? (if not applicable leave blank)

If this happened at runtime what code produced the issue? (if not applicable leave blank)

What is the output of the command above with the -d flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)

Please provide a relevant database schema so we can replicate your issue (Provided you are comfortable sharing this)

Further information. What did you do, what did you expect?

Currently, there seems to be no way to set temporal clauses of the form AS OF SYSTEM TIME. Reference for CockroachDB is as follows: https://www.cockroachlabs.com/docs/v20.2/as-of-system-time.html

Adding support for this would go a long way in supporting multi-region clusters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions