Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discrepancy between description and output re: SQLite variable name escaping #1551

Open
simonpcouch opened this issue Oct 31, 2024 · 0 comments

Comments

@simonpcouch
Copy link
Collaborator

First noted by @bbolker in #1550. In:

* `"` and `'` mean different things
```{r}
# In SQLite variable names are escaped by double quotes:
translate_sql(x, con = con)
# And strings are escaped by single quotes
translate_sql("x", con = con)
```

The pkgdown site shows:

# In SQLite variable names are escaped by double quotes:
translate_sql(x, con = con)
#> <SQL> `x`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant