sqlNameWalk {pgTools}R 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")

[Package pgTools version 1.0.2 Index]