esmero / strawberryfield

A Field of strawberries
GNU Lesser General Public License v3.0
10 stars 5 forks source link

ISSUE-320: Adds a new Key value DB class with ranged/listed queries #321

Closed DiegoPino closed 4 months ago

DiegoPino commented 4 months ago

See #320

This implements for key/value tables a "wrapper class" that allows listings of existing key values to be made (including get whole/list just the keys) without knowing the actual key name

This is needed to allow our datasource to be re-tracked.

The re-tracker is implemented using the existing interface at ::getPartialItemIds but it does something (i hope) well. It checks if the Nodes/Files associated with a stored SBF Flavor data source entry, still exist. and tries to fill/refill data if a query returns many but none of these are valid... I need to check more because i added a WHILE statement... dangerous stuff. So far so good with my limited to 1500 OCRs test.

@alliomeria @roromedia ping (pong) and ping again