tbl_sql: Create an SQL tbl (abstract)

View source: R/tbl-sql.R

tbl_sqlR Documentation

Create an SQL tbl (abstract)

Description

Generally, you should no longer need to provide a custom tbl() method. The default tbl.DBIConnect method should work in most cases.

Usage

tbl_sql(subclass, src, from, ..., vars = NULL, check_from = TRUE)

Arguments

subclass

name of subclass

...

needed for agreement with generic. Not otherwise used.

vars

Provide column names as a character vector to avoid retrieving them from the database. Mainly useful for better performance when creating multiple tbl objects.

check_from

Check if from is likely misspecified SQL or a table in a schema.


dbplyr documentation built on Oct. 26, 2023, 9:06 a.m.