Skip to contents

Get a lazy data frame for a given table or view reference.

Usage

get_lazy(ref, conn = db$conn)

Arguments

ref

a table reference from db_connect

conn

a connection object from db_connect. Defaults to db$conn.

Value

a dplyr tbl object

Details

This function generates a dplyr lazy tbl object from a table or view reference in a listed_connection object generated by db_connect. This is useful for creating an sql query with dplyr syntax.