createTable: Draft SQL to Create a Table

Description Usage Arguments See Also

Description

Draft a SQL that creates a table using DDL derived from a dataframe. Drafting is stopped if the given tablename or fields in the dataframe are a SQL reserve word.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
draftCreateTable(schema, tableName, if_not_exists = TRUE, ...)

createTable(
  conn,
  schema,
  tableName,
  if_not_exists = TRUE,
  ...,
  verbose = TRUE,
  render_sql = TRUE
)

Arguments

...

Named vector of field names and their corresponding data definition.

See Also

list2 render

list2 render send


patelm9/pg13 documentation built on Dec. 26, 2021, 8:17 p.m.