Answer the question
In order to leave comments, you need to log in
Postgresql checking single value for emptiness in array?
Can anyone tell me how to check in this array
{
{elem1},
{elem2},
{elem3},
...
}
{
{},
{elem2},
{elem3},
...
}
NULL
SELECT
map_points
FROM table
WHERE
вот что тут писать?
Answer the question
In order to leave comments, you need to log in
Did so. (crutch)
array_to_string("map_points"[1:1], '{') AS "gps",
array_to_string("map_points"[2:2], '{') AS "name",
$offer['name'] = preg_replace('/[\{\}]/', ' ', $offer['name']);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question