Skip to content

SptDB: Batch Store

Store multiple patterns and vectors in bulk with progress tracking.

Source: examples/sptdb/batch-store.js

Usage

bash
node examples/sptdb/batch-store.js '[{"key":"p1","value":"Pattern 1"}]' my-namespace

What It Does

  1. Accepts a JSON array of key/value pairs and a namespace
  2. Stores all patterns in SptDB with batch optimisation
  3. Reports progress and final throughput

Released under the MIT License.