Learn R Programming

pgTools (version 1.0.2)

vecToArrayStr2: Write a PostgreSQL array as a string using format from a vector.

Description

Write a PostgreSQL array as a string using format from a vector.

Usage

vecToArrayStr2(x, double_quote = TRUE)

Value

A string.

Arguments

x

A vector.

double_quote

TRUE/FALSE, if TRUE, the elements of x will be double quoted.

Examples

Run this code
vecToArrayStr2(c("a", "b"))

Run the code above in your browser using DataLab