Releases: ropensci/nodbi
Releases · ropensci/nodbi
nodbi 0.14.0
- Fix
docdb_queryforsrc_sqlitewhen using$inwith strings in query - Use
jsonb_treeas available sinceRSQLiteversion 2.4.4 - Update database version requirements, cleanup version-dependent code
- Avoid time-costly
json_treeforsrc_duckdbforlistfields = TRUE - Handle
docdb_updateforndjsonfiles with duplicate _id's or target rows
nodbi 0.13.1
- Improve mangling DuckDB version number
- Correct
listfields = TRUEforsrc_duckdb
nodbi 0.13.0
- Prepare docdb_query() for duckdb 1.3.0 (e.g., use new json_tree function)
- Move warning for non-persistent connections to src_sqlite, src_duckdb calls
- Harmomise printing connections
nodbi 0.12.0
Improvements
- Use
duckdbinternal function for writing NDJSON to file - Removing message about RSQLite handling NDJSON file name as value
nodbi 0.11.0
Potentially breaking changes
docdb_query()modified so that it returns a data frame, in which each column has just one type (atomic or list) across all the rows of the respective column (previously, e.g. a mix of single-item lists simplified to atomic values and of multi-item lists were returned)
Changes
docdb_create()anddocdb_update()for SQLite and PostgreSQL (only if on localhost) now import directly and fast fromndjsonfiles, in analogy to DuckDB (needs RSQLite >= 2.3.7.9014)- Refactored
docdb_update()forsrc_couchdb() - Add message from
docdb_create()if a data frame has column names with a dot(s) since dots innodbiare used forJSONdot paths - Add code to check database backend version requirements
- Adding info if PostgreSQL database is not yet created
- Factored out further code
nodbi 0.10.7
- uses new features of
duckdb1.11.0 for refactoring ofdocdb_query(), accelerating queries - accelerated creating and updating from file
nodbi 0.10.6
Changes
- partial refactoring of
docdb_query(), accelerating queries up to 20-fold for SQLite, DuckDB, and acceleratinglistfields = TRUEseveral times for DuckDB
Bug fix
- address
docdb_query()not working for cases when dot paths had no counts between fields - address wrong database size printing
nodbi 0.10.5
Bug fix
- stop if query is invalid even though
JSONis valid - print information also for MongoDB connection object
Changes
- code cleaning, parameters checking
- document that
$regexindocdb_query()is case-sensitive
nodbi v0.10.4
Bug fix
- re-adding field formatting for
docdb_query(src, key, query, listfields = TRUE, limit = <integer>)
nodbi v0.10.3
Bug fix
- minor fixes to
limitindocdb_query(src, key, query, listfields = TRUE, limit = <integer>)and speed up