ident: Flag a character vector as SQL identifiers

Description Usage Arguments Examples

View source: R/compat-dbplyr.R

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

1

Arguments

...

A character vector, or name-value pairs

Examples

1
2
3
4
# Identifiers are escaped with "
if (requireNamespace("dbplyr", quietly = TRUE)) {
  ident("x")
}

Example output

Attaching package:dplyrThe following objects are masked frompackage:stats:

    filter, lag

The following objects are masked frompackage:base:

    intersect, setdiff, setequal, union

<IDENT> x

dplyr documentation built on June 19, 2021, 1:07 a.m.