dbplyr (version 0.0.0.9001)

ident: Flag a character vector as SQL identifiers

Description

ident() takes unquoted strings and quotes them for you; ident_q() assumes its input has already been quoted.

Usage

ident(...)

ident_q(...)

is.ident(x)

Arguments

...
A character vector, or name-value pairs
x
An object

Details

These two ident clsases are used during SQL generation to make sure the values will be quoted as, not as strings.

Examples

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

# And identifiers with "
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