sql_quote

0th

Percentile

Helper function for quoting sql elements.

If the quote character is present in the string, it will be doubled. NAs will be replaced with NULL.

Keywords
internal
Usage
sql_quote(x, quote)
Arguments
x
Character vector to escape.
quote
Single quoting character.
Aliases
  • sql_quote
Examples
sql_quote("abc", "'")
sql_quote("I've had a good day", "'")
sql_quote(c("abc", NA), "'")
Documentation reproduced from package dplyr, version 0.3, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.