Skip to content

dbWriteTable's arguments order #43

Closed

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,
...) {

Activity

  1. krlmlr commented on Dec 2, 2023

    @krlmlr
    Collaborator

    Thanks, agreed. Would you like to submit a PR?

  2. github-actions commented on Feb 23, 2025

    @github-actions
    Contributor

    This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

  3. locked and limited conversation to collaborators on Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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