Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ exportClasses(PostgreSQL)
exportClasses(Redshift)
exportClasses(SQLite)
exportClasses(Snowflake)
exportClasses(SnowflakeOdbcDriver)
exportClasses(Teradata)
exportMethods(dbAppendTable)
exportMethods(dbBegin)
Expand Down
8 changes: 6 additions & 2 deletions R/driver-snowflake.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,17 @@
#' }
#' @export
snowflake <- function() {
new("Snowflake")
new("SnowflakeOdbcDriver")

Check warning on line 155 in R/driver-snowflake.R

View check run for this annotation

Codecov / codecov/patch

R/driver-snowflake.R#L155

Added line #L155 was not covered by tests
}

#' @rdname snowflake
#' @export
setClass("SnowflakeOdbcDriver", contains = "OdbcDriver")

#' @rdname snowflake
#' @export
setMethod(
"dbConnect", "Snowflake",
"dbConnect", "SnowflakeOdbcDriver",
function(drv,
account = Sys.getenv("SNOWFLAKE_ACCOUNT"),
driver = NULL,
Expand Down
6 changes: 4 additions & 2 deletions man/snowflake.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading