Skip to content

Releases: ropensci/nodbi

nodbi 0.14.0

07 Dec 09:36

Choose a tag to compare

  • Fix docdb_query for src_sqlite when using $in with strings in query
  • Use jsonb_tree as available since RSQLite version 2.4.4
  • Update database version requirements, cleanup version-dependent code
  • Avoid time-costly json_tree for src_duckdb for listfields = TRUE
  • Handle docdb_update for ndjson files with duplicate _id's or target rows

nodbi 0.13.1

26 Jun 19:48

Choose a tag to compare

  • Improve mangling DuckDB version number
  • Correct listfields = TRUE for src_duckdb

nodbi 0.13.0

04 Jun 04:46

Choose a tag to compare

  • 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

30 Mar 15:43

Choose a tag to compare

Improvements

  • Use duckdb internal function for writing NDJSON to file
  • Removing message about RSQLite handling NDJSON file name as value

nodbi 0.11.0

10 Nov 17:23

Choose a tag to compare

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() and docdb_update() for SQLite and PostgreSQL (only if on localhost) now import directly and fast from ndjson files, in analogy to DuckDB (needs RSQLite >= 2.3.7.9014)
  • Refactored docdb_update() for src_couchdb()
  • Add message from docdb_create() if a data frame has column names with a dot(s) since dots in nodbi are used for JSON dot 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

30 Sep 04:54

Choose a tag to compare

  • uses new features of duckdb 1.11.0 for refactoring of docdb_query(), accelerating queries
  • accelerated creating and updating from file

nodbi 0.10.6

26 Jul 04:55

Choose a tag to compare

Changes

  • partial refactoring of docdb_query(), accelerating queries up to 20-fold for SQLite, DuckDB, and accelerating listfields = TRUE several 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

30 Jun 14:47

Choose a tag to compare

Bug fix

  • stop if query is invalid even though JSON is valid
  • print information also for MongoDB connection object

Changes

  • code cleaning, parameters checking
  • document that $regex in docdb_query() is case-sensitive

nodbi v0.10.4

08 Mar 23:03

Choose a tag to compare

Bug fix

  • re-adding field formatting for docdb_query(src, key, query, listfields = TRUE, limit = <integer>)

nodbi v0.10.3

03 Mar 20:00

Choose a tag to compare

Bug fix

  • minor fixes to limit in docdb_query(src, key, query, listfields = TRUE, limit = <integer>) and speed up