You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETYPEphysical_addressAS (
name text,
extra_recipient_information text DEFAULT NULL,
street_number_and_name text,
extra_street_information text DEFAULT NULL,
post_office_box text,
postal_code text,
locality text,
country text
);
And a table of clients:
CREATETABLEIF NOT EXISTS clients (
id uuid NOT NULL DEFAULT gen_random_uuid(),
name textNOT NULL,
address physical_address NOT NULL
);
Hello,
It seems the library does not support PostgreSQL custom types.
Say I have the following
physical_address
type:And a table of clients:
Containing the following row:
With the following code:
It looks like
address
is seen as a simple string:Is there a way to access sub fields? Something like:
The text was updated successfully, but these errors were encountered: