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

Supported PostgreSQL Data Type #49

Open
dhamanutd opened this issue Jul 20, 2024 · 0 comments
Open

Supported PostgreSQL Data Type #49

dhamanutd opened this issue Jul 20, 2024 · 0 comments
Milestone

Comments

@dhamanutd
Copy link
Contributor

dhamanutd commented Jul 20, 2024

List of postgres data type that not yet or already recognised by raiden imports/apply

PostgreSQL/PostgREST Data Type Golang Data Type From PostgreSQL -> Go From Go -> PostgreSQL
smallint int16
integer int32
bigint int64
decimal float64
numeric float64
real float32
double precision float64
smallserial int16
serial int32
bigserial int64
character varying string
varchar string
character string
char string
bpchar string
text string
bytea []byte
timestamp without time zone time.Time
timestamp time.Time
timestamp with time zone time.Time
timestampz time.Time
date time.Time
time without time zone time.Time
time time.Time
time with time zone time.Time
timez time.Time
interval time.Duration
boolean bool
uuid uuid.UUID
json interface{} / map[string]interface{}
jsonb interface{} / map[string]interface{}
int4range string
int8range string
numrange string
tsrange string
tstzrange string
daterange string
smallint[] []int16
integer[] []int32
bigint[] []int64
decimal[] []float64
numeric[] []float64
real[] []float32
double precision[] []float64
boolean[] []bool
character varying[] []string
varchar[] []string
character[] []string
char[] []string
text[] []string
bytea[] [][]byte
timestamp without time zone[] []time.Time
timestamp[] []time.Time
timestamp with time zone[] []time.Time
timestampz[] []time.Time
date[] []time.Time
time without time zone[] []time.Time
time[] []time.Time
time with time zone[] []time.Time
timez[] []time.Time
interval[] []time.Duration
uuid[] []uuid.UUID
json[] []interface{} / []map[string]interface{}
jsonb[] []interface{} / []map[string]interface{}
@dhamanutd dhamanutd changed the title Supported Postgres Data Type Supported PostgreSQL Data Type Jul 20, 2024
@toopay toopay added this to the v1.1.0 milestone Jul 24, 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

No branches or pull requests

2 participants