-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #324 from r-dbi/f-inline-bind-3
chore: Inlining
- Loading branch information
Showing
8 changed files
with
70 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#' spec_meta_bind | ||
#' @name spec_meta_bind | ||
#' @family meta specifications | ||
#' @aliases NULL | ||
#' @usage NULL | ||
#' @format NULL | ||
#' @keywords NULL | ||
spec_meta_bind_formals <- list( | ||
bind_formals = function() { | ||
# <establish formals of described functions> | ||
expect_equal(names(formals(dbBind)), c("res", "params", "...")) | ||
}, | ||
#' | ||
bind_empty = function(con) { | ||
#' @section Failure modes: | ||
#' Calling `dbBind()` for a query without parameters | ||
res <- local_result(dbSendQuery(con, trivial_query())) | ||
#' raises an error. | ||
expect_error(dbBind(res, list())) | ||
}, | ||
NULL | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.