quoteText {dbWebForms} | R Documentation |
Add single quotes to strings, useful for converting R strings into SQL formatted strings.
Description
Add single quotes to strings, useful for converting R strings into SQL formatted strings.
Usage
quoteText(x, char_only = TRUE)
Arguments
x |
A string. |
char_only |
TRUE/FALSE, if TRUE, adds quotes only if is.character(x) is TRUE. |
Value
A string, with single quotes added to match postgreSQL string formatting.
Examples
quoteText("Sample quotes.")
[Package dbWebForms version 0.1.0 Index]