Skip to content

Support interval type #86

@isaacharrisholt

Description

@isaacharrisholt

Now that we have gleam_time Squirrel could support the interval type by converting to and from microseconds, which is the resolution at which Postgres stores intervals.

This might require a new microseconds function in gleam/time/duration, but I wanted to get your opinion on supporting interval before I open an issue (so we have a use case I can point to).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type requestA request to add support for a PG type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions