Re: [fpc-pascal] no array support in sqldb/sqldbrestbridge?

2022-06-07 Thread LacaK via fpc-pascal
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.

[fpc-pascal] no array support in sqldb/sqldbrestbridge?

2022-06-07 Thread Luca Olivetti via fpc-pascal
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: