Skip to content

Support for range types #840

Open
Open
@magick93

Description

@magick93

Feature request

Is your feature request related to a problem? Please describe.

When generating types columns that use a range are being generated with unknown.

For example:

CREATE TABLE public.sample_table (
	duration tstzrange NULL
);

Will generate:

sample_table: {
        Row: {
          duration: unknown | null
        }
        Insert: {
          duration?: unknown | null
        }
        Update: {
          duration?: unknown | null
        }
      }

As there are already several range types in Postgres these should be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions