keyValuesToSql | R Documentation |
List of Key = Value Pairs to SQL Expressions
keyValuesToSql(keyValues, filter, like = filter)
keyValues |
list of |
filter |
logical. If |
like |
passed to |
keyValues <- list(name = "Peter", birth = as.POSIXct("1999-09-09"))
setCurrentSqlDialect("msaccess")
cat(keyValuesToSql(keyValues, filter = TRUE))
cat(keyValuesToSql(keyValues, filter = TRUE, like = FALSE))
cat(keyValuesToSql(keyValues, filter = FALSE))
setCurrentSqlDialect("mysql")
cat(keyValuesToSql(keyValues, filter = TRUE))
cat(keyValuesToSql(keyValues, filter = TRUE, like = FALSE))
cat(keyValuesToSql(keyValues, filter = FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.