Skip to content

dbWriteTable's arguments order #43

@eitsupi

Description

@eitsupi

The DBI document says:

The following arguments are not part of the dbWriteTable() generic (to improve compatibility across backends) but are part of the DBI specification:

  • row.names (default: FALSE)
  • overwrite (default: FALSE)
  • append (default: FALSE)
  • field.types (default: NULL)
  • temporary (default: FALSE)

They must be provided as named arguments. See the "Specification" and "Value" sections for details on their usage.

But now dbWriteTable__duckdb_connection_character_data.frame can specify these options without names.
I think we need to change the position of the dot dot dot ....

dbWriteTable__duckdb_connection_character_data.frame <- function(conn,
name,
value,
row.names = FALSE,
overwrite = FALSE,
append = FALSE,
field.types = NULL,
temporary = FALSE,
...) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions