Closed andrewjbe closed 1 year ago
The other reason is because you can avoid the parentheses problem. Look at the docs for glue SQL. You can use syntax like this:
table <- "case" db <- ojo_connect() glue_sql("select * from {table}", .con = db)
Glue takes care of escaping the table name with parentheses since 'case' is an SQL keyword
The other reason is because you can avoid the parentheses problem. Look at the docs for glue SQL. You can use syntax like this:
Glue takes care of escaping the table name with parentheses since 'case' is an SQL keyword