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

View source: R/pgTools.R

vecToArrayStr2R Documentation

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)

Arguments

x

A vector.

double_quote

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

Value

A string.

Examples

vecToArrayStr2(c("a", "b"))

pgTools documentation built on March 31, 2023, 7:56 p.m.