- Added support for
returning
option fordbxUpsert
for MariaDB 10.5+
- Added support for
dbxUpsert
for SQL Server - Fixed typecasting with ODBC
- Fixed issue with RMariaDB 1.3.0+
- Fixed typecasting for empty results with RPostgreSQL 0.7
- Fixed warning with RPostgreSQL
- Added support for
SQL
withreturning
option - Fixed time zones for RPostgres 1.3.0+ and RMariaDB 1.1.0+
- Fixed CRAN check with R-devel
- Added
transaction
option todbxUpdate
- Added unsafe version check for RMySQL
- Added support for tibbles
- Improved error message for invalid database URL
- Fixed error when
where_cols
ordering different than data frame
- Added
dbxExecute
function - Added support for complex types
- Fixed issues with NULL blobs with Postgres and SQLite
- Added parameters for
dbxSelect
- Added
skip_existing
option todbxUpsert
- Fixed issue with
batch_size
option skipping partial batches
- Added statement duration to logging
- Added logging for
dbxUpdate
transaction - Added
variables
todbxConnect
- Added
connect_timeout
,sslcert
,sslkey
, andsslcrl
for RPostgreSQL - Prefer
dbx_logging
overdbx_verbose
- Improved support for ODBC
- Fixed error with
dbxUpsert
- Added
sslmode
andsslrootcert
for RPostgreSQL - Fixed error with dplyr check
- Added support for fractional seconds
- Fixed error with updates
- Fixed times for RSQLite
- Fixed typecasting for dates, times, and booleans with RMySQL
- Fixed error when writing binary objects with RPostgres and RPostgreSQL
- Fixed error when writing dates with RMySQL and RMariaDB
- Fixed error when writing booleans with RPostgreSQL
- Fixed error when writing
hms
objects
Breaking
-
The
dbxInsert
anddbxUpsert
functions no longer return a data frame by default. For MySQL and SQLite, the data frame was just therecords
argument. For Postgres, if you use auto-incrementing primary keys, the data frame contained ids of the newly inserted/upserted records. To get the ids, pass name of the column as thereturning
argument:dbxInsert(db, table, records, returning=c("id"))
-
timestamp without time zone
columns in Postgres are now stored in UTC instead of local time by default. This does not affecttimestamp with time zone
columns. To keep the previous behavior, use:dbxConnect(adapter="postgres", storage_tz=Sys.timezone(), ...)
- First release