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

Add proper support for timestamp arrays #149

Closed
wants to merge 3 commits into from
Closed

Conversation

0xTim
Copy link
Member

@0xTim 0xTim commented Mar 23, 2021

No description provided.

@0xTim 0xTim requested a review from gwynne March 23, 2021 17:05
@fabianfett
Copy link
Collaborator

Do we want to add this support also for the potentially new PSQLCodable type? You would add this by adding

extension Date: PSQLArrayElement {
    static var psqlArrayType: PSQLDataType { .timestamptzArray }
    static var psqlArrayElementType: PSQLDataType { .timestamptz }
}

to Array+PSQLCodable. This should be it!

@0xTim
Copy link
Member Author

0xTim commented Apr 22, 2021

Yeah if that's simpler and better long term we should migrate to that

@gwynne
Copy link
Member

gwynne commented Mar 8, 2024

Superseded (at last) by #463

@gwynne gwynne closed this Mar 8, 2024
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.

3 participants