powered by
Write a PostgreSQL array as a string using format from a vector.
vecToArrayStr2(x, double_quote = TRUE)
A string.
A vector.
TRUE/FALSE, if TRUE, the elements of x will be double quoted.
vecToArrayStr2(c("a", "b"))
Run the code above in your browser using DataLab