See vignette("translate-function")
and vignette("translate-verb")
for
details of overall translation technology. Key differences for this backend
are:
SELECT
uses TOP
, not LIMIT
Non-standard types and mathematical functions
String concatenation uses &
No ANALYZE
equivalent
TRUE
and FALSE
converted to 1 and 0
Use simulate_access()
with lazy_frame()
to see simulated SQL without
converting to live access database.
simulate_access()
library(dplyr, warn.conflicts = FALSE) lf <- lazy_frame(x = 1, y = 2, z = "a", con = simulate_access()) lf %>% head()#> <SQL> #> SELECT TOP 6 * #> FROM `df`#> <SQL> #> SELECT `x`, CDBL(`y`) AS `y`, SQR(`x` ^ 2.0 + 10.0) AS `z` #> FROM `df`#> <SQL> #> SELECT `x`, `y`, `z`, `z` & ' times' AS `a` #> FROM `df`