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

Allow PG Timestamp to accept string as selectType. #199

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

hevar
Copy link
Contributor

@hevar hevar commented Sep 13, 2024

We're currently facing issues with the timestamps due to Date not considering microseconds, which would be fixed if the type is string.

Related issues: #194, #123, #177

@RobinBlomberg RobinBlomberg merged commit 98c974b into RobinBlomberg:master Sep 16, 2024
@RobinBlomberg
Copy link
Owner

Released in kysely-codegen@0.16.7!

@RobinBlomberg
Copy link
Owner

RobinBlomberg commented Sep 17, 2024

Hey! I unfortunately had to revert this change in kysely-codegen@0.16.8, as the value returned by Postgres really is a Date. If you have any other ideas on how to resolve the underlying issue, I'd be happy to check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants