See vignette("translate-function") and vignette("translate-verb") for details of overall translation technology. Key differences for this backend are:

  • Use FETCH FIRST instead of LIMIT

  • Custom types

  • paste() uses ||

  • Custom subquery generation (no AS)

  • setdiff() uses MINUS instead of EXCEPT

Use simulate_oracle() with lazy_frame() to see simulated SQL without converting to live access database.

simulate_oracle()

Examples

library(dplyr, warn.conflicts = FALSE) lf <- lazy_frame(a = TRUE, b = 1, c = 2, d = "z", con = simulate_oracle()) lf %>% transmute(x = paste0(c, " times"))
#> <SQL> #> SELECT `c` || ' times' AS `x` #> FROM (`df`)
lf %>% setdiff(lf)
#> <SQL> #> (SELECT * #> FROM `df`) #> MINUS #> (SELECT * #> FROM `df`)