Skip to content

Use check_dots_used() in dbGetQuery() and friends #413

@mgirlich

Description

@mgirlich

e.g. dbGetQuery() doesn't complain about extra arguments. I guess this affects all backends.

library(DBI)
con <- dbConnect(RSQLite::SQLite(), ":memory:")

DBI::dbGetQuery(
  con,
  "SELECT 1",
  extra_arg = 1
)
#>   1
#> 1 1

Created on 2023-04-25 with reprex v2.0.2

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