filmov
tv
#10 PostgreSQL ARRAYS, using UNNEST, string_to_array, array_to_string, remove null values, #shorts

Показать описание
array [1,1,2,3,NULL,4,NULL,5,6,6] creates an array of integers, with some elements being NULL.
array_to_string(array [1,1,2,3,NULL,4,NULL,5,6,6],',') converts the input array into a string, where each element is separated by a comma.
Any NULL values in the input array are removed during the array_to_string() conversion.
@SoftwareNuggets #softwarenuggets #softwareNuggetsShorts, #postgresql, #postgresqlShorts #shorts
array_to_string(array [1,1,2,3,NULL,4,NULL,5,6,6],',') converts the input array into a string, where each element is separated by a comma.
Any NULL values in the input array are removed during the array_to_string() conversion.
@SoftwareNuggets #softwarenuggets #softwareNuggetsShorts, #postgresql, #postgresqlShorts #shorts