| trino_type_to_r | R Documentation |
Reports the R type a column of the given Trino type is converted to. Mostly
useful for documentation and testing; dbFetch() converts columns through
trino_cast_column().
trino_type_to_r(type, bigint = c("integer64", "numeric", "character"))
type |
A Trino type name, with or without parameters, as a single string. |
bigint |
How |
A string naming an R class.
trino_type_to_r("varchar(10)")
trino_type_to_r("bigint")
trino_type_to_r("bigint", bigint = "numeric")
trino_type_to_r("timestamp(3) with time zone")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.