Skip to content

Commit

Permalink
sql-server: add method to plug s4 dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
detule committed Jan 26, 2025
1 parent 44d3acf commit a71846c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions R/driver-sql-server.R
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,15 @@ setMethod("odbcConnectionColumns_", c("Microsoft SQL Server", "character"),
)

Check warning on line 249 in R/driver-sql-server.R

View check run for this annotation

Codecov / codecov/patch

R/driver-sql-server.R#L241-L249

Added lines #L241 - L249 were not covered by tests
}
)

#' @description
#' ## `odbcConnectionColumns_()`
#'
#' Copied over from odbc-connection to avoid S4 dispatch NOTEs.
#' @rdname SQLServer
#' @usage NULL
setMethod("odbcConnectionColumns_", c("Microsoft SQL Server", "SQL"),
function(conn, name, ...) {
odbcConnectionColumns_(conn, dbUnquoteIdentifier(conn, name)[[1]], ...)

Check warning on line 261 in R/driver-sql-server.R

View check run for this annotation

Codecov / codecov/patch

R/driver-sql-server.R#L261

Added line #L261 was not covered by tests
}
)

0 comments on commit a71846c

Please sign in to comment.