El 7/6/22 a les 14:15, LacaK via fpc-pascal ha escrit:
Hi,
So, is there no array field support in sqldb and/or in sqldbrestbridge?
there was added into DB.pas : TObjectField and TArrayField
https://gitlab.com/freepascal.org/fpc/source/-/blob/main/packages/fcl-db/src/base/db.pas
but impleme
Hi,
So, is there no array field support in sqldb and/or in sqldbrestbridge?
there was added into DB.pas : TObjectField and TArrayField
https://gitlab.com/freepascal.org/fpc/source/-/blob/main/packages/fcl-db/src/base/db.pas
but implementation is incomplete. Methods in fields.inc are empty.
A
llo,
since I'm going to need arrays in a postgresql database to expose via a
rest api, I did a simple test with sqldbrestbridge.
I created a simple table:
create table prueba (x integer not null, y integer[]);
insert into prueba values (1, '{2,3}');
then I exposed it with sqlrestdb:
FDisp