modifier_to_sql: Utility function to extract SQL statements

View source: R/modifier_to_sql.R

modifier_to_sqlR Documentation

Utility function to extract SQL statements

Description

Extract UPDATE statements from modifier object as a list of SQL statements. A user should normally be using modify() or dump_sql(), but this function may be useful.

Usage

modifier_to_sql(x, table, con = NULL)

Arguments

x

dcmodify::modifier() object

table

table object

con

optional connection

Value

list of sql UPDATE statements.

See Also

Other sql translation: dump_sql()


data-cleaning/dcmodifydb documentation built on June 23, 2022, 10:34 p.m.