The output SQL statement is a simple CREATE TABLE
suitable for
dbGetQuery
sqliteBuildTableDefinition(
con,
name,
value,
field.types = NULL,
row.names = pkgconfig::get_config("RSQLite::row.names.query", FALSE)
)
An SQL string
A database connection.
Name of the new SQL table
A data.frame, for which we want to create a table.
Optional, named character vector of the types for each
field in value
Logical. Should row.name of value
be exported as a
row_names
field? Default is TRUE