biothings.api icon indicating copy to clipboard operation
biothings.api copied to clipboard

Extend MergerStorage Class to Support Both MongoDB and SQLite

Open DylanWelzel opened this issue 10 months ago • 0 comments

The MergerStorage class is currently designed for use with MongoDB, utilizing MongoDB-specific features such as bulk writes and handling BulkWriteError for merging documents on duplicate key errors. We need to adapt this class to work with SQLite specifically for use in the BioThings CLI.

This work builds on PR #327, which already tackled ignoring duplicate _id values in SQLite.

DylanWelzel avatar Apr 18 '24 21:04 DylanWelzel