nodbi 0.9.1.9000
Changes
- added warning if DuckDB’s JSON extension is not available; see also issue #45
- minor simplification of docdb_exists() for src_mongo()
nodbi 0.7.1
CRAN release: 2022-05-04
BUG FIXES
- fixed
docdb_query
to account for change in SQLite 3.38.3 adding quotation of labels (closes issue #44), test added - made
docdb_query
work for PostgreSQL when a string used with the$in
operator has a comma(s), test added
nodbi 0.7.0
CRAN release: 2022-01-04
nodbi 0.5.0
CRAN release: 2021-11-21
IMPROVEMENTS
- identical API for
docdb_*()
functions so thatquery
andfields
parameters can be used across database backends - identical return values across database backends
UNDER THE HOOD
- re-factored recently added functions for RSQLite
- re-factored most functions to provide identical API
- performance (timing and memory use) profiled and optimised as far as possible
OTHER CHANGES
- testing now uses the same test file across databases
- currently, no more support for redis (no way was found to query and update specific documents in a container)
-
docdb_list()
added as function to list container in database
nodbi 0.4.4
MINOR IMPROVEMENTS
- made remaining
docdb_*()
functions return a logical indicating the success of the function (docdb_create
,docdb_delete
), or a data frame (docdb_get
,docdb_query
), or the number of documents affected by the function (docdb_update
)
BUG FIXES
-
docdb_get()
to not return ’_id’ field forsrc_{sqlite,mongo}
since already used for row names
nodbi 0.4.3
CRAN release: 2021-07-23
MINOR IMPROVEMENTS
-
docdb_query.src_sqlite()
now handles JSON objects, returning nested lists (#40) -
src_sqlite()
now uses transactions for relevant functions (#39) -
docdb_update.src_mongo()
now returns the number of upserted or matched documents, irrespective of whether they were updated or not
BUG FIXES
-
docdb_get()
to not return ’_id’ field forsrc_{sqlite,mongo}
since already used for row names
nodbi 0.4.2
CRAN release: 2021-01-14
BUG FIXES
- fix for
src_couchdb()
: we were not setting user and password correctly internally, was causing issues in CouchDB v3 (#35) thanks to @drtagkim for the pull request
nodbi 0.4.0
CRAN release: 2019-11-11
MINOR IMPROVEMENTS
- in
docdb_query()
anddocdb_get()
, for sqlite source, use a connection instead of a regular file path to avoid certain errors on Windows (#33) work by @rfhb - in
docdb_query()
anddocdb_create()
for sqlite source, fix to handle mixed values of different types (#34) work by @rfhb - some Sys.sleep’s added to Elasticserch eg’s to make sure data is available after creation, and before a data request
nodbi 0.3.0
CRAN release: 2019-09-18
NEW FEATURES
- new author Ralf Herold, with contribution of new functions for working with SQLite/json1. new functions:
src_sqlite
,print.src_sqlite
,docdb_create.src_sqlite
,docdb_delete.src_sqlite
,docdb_exists.src_sqlite
,docdb_get.src_sqlite
,docdb_query.src_sqlite
, anddocdb_update.src_sqlite
. includes new datasetcontacts
(#25) (#27) (#28) (#29) (#30) (#31) -
docdb_update
gains method for working with MongoDB, via (#27)
MINOR IMPROVEMENTS
- added
.github
files in the source repository to facilitate contributions -
src_mongo
changes, improved behavior, via (#27)
DEFUNCT
-
etcd
(via theetseed
package) integration has been removed from this package as etcd doesn’t really fit the main goal of the pkg. functions now defunct are:src_etcd
,docdb_create.src_etcd
,docdb_delete.src_etcd
,docdb_exists.src_etcd
,docdb_get.src_etcd
, andprint.src_etcd
(#26)
nodbi 0.2.0
CRAN release: 2019-04-13
NEW FEATURES
-
docdb_get()
gainslimit
parameter to do pagination, for CouchDB, Elasticsearch and MongoDB only (#17) (#23) - gains function
docdb_query()
to send queries to each backend (#18) (#22) - gains function
docdb_exists()
to check if a database or equivalent exists (#21) (#22)
MINOR IMPROVEMENTS
- Updated package for new version of
elastic
, which has slightly different setup for connecting to the Elasticsearch instance (#20)