Skip to content

Commit

Permalink
import spec for dbColumnInfo()
Browse files Browse the repository at this point in the history
- The `dbColumnInfo()` method is now fully specified (#75).
  • Loading branch information
krlmlr committed Apr 23, 2018
1 parent c235236 commit 9ca8fb9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
11 changes: 5 additions & 6 deletions R/DBResult.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@ setGeneric("dbClearResult",
#'
#' Produces a data.frame that describes the output of a query. The data.frame
#' should have as many rows as there are output fields in the result set, and
#' each column in the data.frame should describe an aspect of the result set
#' each column in the data.frame describes an aspect of the result set
#' field (field name, type, etc.)
#'
#' @inheritParams dbClearResult
#' @return A data.frame with one row per output field in `res`. Methods
#' MUST include `name`, `field.type` (the SQL type),
#' and `data.type` (the R data type) columns, and MAY contain other
#' database specific information like scale and precision or whether the
#' field can store `NULL`s.
#'
#' @inherit DBItest::spec_meta_column_info return
#' @inheritSection DBItest::spec_meta_column_info Specification
#'
#' @family DBIResult generics
#' @export
#' @examples
Expand Down
30 changes: 24 additions & 6 deletions man/dbColumnInfo.Rd

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

1 change: 1 addition & 0 deletions vignettes/spec.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ topics <- c(
"dbGetStatement",
"dbGetRowCount",
"dbGetRowsAffected",
"dbColumnInfo",
"transactions",
"dbWithTransaction"
)
Expand Down

0 comments on commit 9ca8fb9

Please sign in to comment.