dbplyr (version 1.2.1)

ident: Flag a character vector as SQL identifiers

Description

ident() takes unquoted strings and flags them as identifiers. ident_q() assumes its input has already been quoted, and ensures it does not get quoted again. This is currently used only for for schema.table.

Usage

ident(...)

ident_q(...)

is.ident(x)

Arguments

...

A character vector, or name-value pairs

x

An object

Examples

Run this code
# NOT RUN {
# SQL92 quotes strings with '
escape("x")

# And identifiers with "
ident("x")
escape(ident("x"))

# You can supply multiple inputs
ident(a = "x", b = "y")
ident_q(a = "x", b = "y")
# }

Run the code above in your browser using DataCamp Workspace