This function creates a lazy tbl object from a table in a database.
It's primarily intended for backend authors who need to create custom
subclasses; most users should use dplyr::tbl() instead.
Arguments
- subclass
name of subclass
- src
A
DBIConnectionobject produced byDBI::dbConnect().- from
Either a table identifier or a literal
sql()string.Use a string to identify a table in the current schema/catalog or
I()for a table elsewhere, e.g.I("schema.table")orI("catalog.schema.table"). For backward compatibility, you can also usein_schema()/in_catalog()orDBI::Id().- ...
needed for agreement with generic. Not otherwise used.
- vars
Optionally, provide a character vector of column names. If not supplied, will be retrieved from the database by running a simple query. This argument is mainly useful for better performance when creating many
tbls with known variables.- check_from
