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