vladmihalcea/hypersistence-utils
View on GitHubAdd support of PostgreSQL types in PostgreSQL array
Open
#311 opened on Apr 11, 2021
help wantedrequires investigation
Repository metrics
- Stars
- (2,184 stars)
- PR merge metrics
- (Avg merge 9d 17h) (1 merged PR in 30d)
Description
For example, there is a following DTO in PostgreSQL:
create table email
(
account_id varchar(100),
id varchar(100),
recipients recipient[],
subject varchar(100),
content varchar(100)
);
create type recipient as
(
email text,
name text
);
There is an option to use PostgreSQL array: https://vladmihalcea.com/postgresql-array-java-list/
But there is no option to use in PostgreSQL array custom types.
With Regards