sqlNameWalk: Convert a column name into a PostgreSQL compatible name.

View source: R/pgTools.R

sqlNameWalkR Documentation

Convert a column name into a PostgreSQL compatible name.

Description

Convert a column name into a PostgreSQL compatible name.

Usage

sqlNameWalk(x, double_quote = FALSE)

Arguments

x

A string, a column name.

double_quote

TRUE/FALSE, if true, will add double quotes rather than replace non-compatible characters with underscores.

Value

A string, a PostgreSQL compatible column name.

Examples

sqlNameWalk("column 100 - sample b")

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

Related to sqlNameWalk in pgTools...