See vignette("translation-function") and vignette("translation-verb") for
details of overall translation technology. Key differences for this backend
are minor translations for common data types.
Use simulate_odbc() with lazy_frame() to see simulated SQL without
converting to live access database.
Examples
library(dplyr, warn.conflicts = FALSE)
lf <- lazy_frame(a = TRUE, b = 1, d = 2, c = "z", con = simulate_odbc())
lf |> transmute(x = as.numeric(b))
#> <SQL>
#> SELECT CAST("b" AS DOUBLE) AS "x"
#> FROM "df"
lf |> transmute(x = as.integer(b))
#> <SQL>
#> SELECT CAST("b" AS INT) AS "x"
#> FROM "df"
lf |> transmute(x = as.character(b))
#> <SQL>
#> SELECT CAST("b" AS STRING) AS "x"
#> FROM "df"
