Skip to content

Commit

Permalink
Merge tag 'v0.7-13'
Browse files Browse the repository at this point in the history
- The deprecated `print.list.pairs()` has been removed.
- Fix `dbDataType()` for `AsIs` object (#198, @yutannihilation).
- Point to db.rstudio.com (@wibeasley, #209).
- Reflect new 'r-dbi' organization in `DESCRIPTION` (@wibeasley, #207).
- Using switchpatch on the second argument for default implementations of `dbQuoteString()` and `dbQuoteIdentifier()`.
- New `dbQuoteLiteral()` generic. The default implementation uses switchpatch to avoid dispatch ambiguities, and forwards to `dbQuoteString()` for character vectors. Backends may override methods that also dispatch on the second argument, but in this case also an override for the `"SQL"` class is necessary (#172).
- Fix `dbQuoteString()` and `dbQuoteIdentifier()` to ignore invalid UTF-8 strings (r-dbi/DBItest#156).
  • Loading branch information
krlmlr committed Nov 27, 2017
2 parents c524fb4 + 3e63790 commit 20e0731
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 0 additions & 1 deletion API
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ isSQLKeyword(dbObj, name, keywords = .SQL92Keywords, case = c("lower", "upper",
isSQLKeyword.default(name, keywords = .SQL92Keywords, case = c("lower", "upper", "any")[3])
make.db.names(dbObj, snames, keywords = .SQL92Keywords, unique = TRUE, allow.keywords = TRUE, ...)
make.db.names.default(snames, keywords = .SQL92Keywords, unique = TRUE, allow.keywords = TRUE)
print.list.pairs(x, ...)
sqlAppendTable(con, table, values, row.names = NA, ...)
sqlAppendTableTemplate(con, table, values, row.names = NA, prefix = "?", ...)
sqlColumnToRownames(df, row.names = NA)
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: DBI
Version: 0.7-12
Date: 2017-08-10
Version: 0.7-13
Date: 2017-11-27
Title: R Database Interface
Description: A database interface definition for communication
between R and relational database management systems. All
Expand Down
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## DBI 0.7-13 (2017-11-27)

- The deprecated `print.list.pairs()` has been removed.
- Fix `dbDataType()` for `AsIs` object (#198, @yutannihilation).
- Point to db.rstudio.com (@wibeasley, #209).
- Reflect new 'r-dbi' organization in `DESCRIPTION` (@wibeasley, #207).
- Using switchpatch on the second argument for default implementations of `dbQuoteString()` and `dbQuoteIdentifier()`.
- New `dbQuoteLiteral()` generic. The default implementation uses switchpatch to avoid dispatch ambiguities, and forwards to `dbQuoteString()` for character vectors. Backends may override methods that also dispatch on the second argument, but in this case also an override for the `"SQL"` class is necessary (#172).
- Fix `dbQuoteString()` and `dbQuoteIdentifier()` to ignore invalid UTF-8 strings (r-dbi/DBItest#156).


## DBI 0.7-12 (2017-08-10)

- Add default implementation of `dbListFields()`.
Expand Down

0 comments on commit 20e0731

Please sign in to comment.