Description Usage Arguments Value
These generics are used to run build various SQL queries. A default method generates ANSI 92 compliant SQL, but variations in SQL across databases means that it's likely that a backend will require at least a few methods.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | sql_select(con, select, from, where = NULL, group_by = NULL,
having = NULL, order_by = NULL, limit = NULL, distinct = FALSE, ...)
sql_subquery(con, from, name = random_table_name(), ...)
sql_join(con, x, y, type = "inner", by = NULL, ...)
sql_semi_join(con, x, y, anti = FALSE, by = NULL, ...)
sql_set_op(con, x, y, method)
sql_escape_string(con, x)
sql_escape_ident(con, x)
|
con |
A database connection. |
An SQL string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.