create_database_object: Create an object in a remote datasource from a tbl

Description Usage Arguments Details

View source: R/database.R

Description

This function will create a remote object (view or table) in a remote data source based on a dbplyr pipe chain.

Usage

1

Arguments

x

dbplyr pipe / remote tbl object

name

name for new remote object (including schema)

dest

remote data source connection

table

specify whether the object is a view (default) or table

Details

Essentially it puts a "CREATE VIEW/TABLE <name> AS ()" wrapper around the SQL code that is generated by the dbplyr chain.


joshmuncke/redbulltools documentation built on July 13, 2019, 12:10 p.m.