vecToArrayStr {pgTools} | R Documentation |
Write a PostgreSQL array as a string using ARRAY[] format from a vector.
vecToArrayStr(x, quote = TRUE)
x |
A vector. |
quote |
TRUE/FALSE, if TRUE, the elements of x will be quoted. |
A string.
vecToArrayStr(c("a", "b"))