php-crud-api icon indicating copy to clipboard operation
php-crud-api copied to clipboard

returning array values from postgresql

Open BPCP opened this issue 7 years ago • 1 comments

I have a postgres db with a column consisting of an array of integers. When I query them using the api it returns a literal of the array "testIntArray": "{1,2,3,4,5}" instead of the expected JSON array "testIntArray": [1,2,3,4,5] .Any thoughts on what I may be doing wrong or if it is functionality that isn't there.

BPCP avatar Jan 18 '18 02:01 BPCP

That you for reporting this issue. The functionality is not there: Arrays are currently not supported. Geometry and JSON are complex types that are supported.

mevdschee avatar Jan 18 '18 08:01 mevdschee