You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One instance that does all writing to the indexes. Only place where SQLite is written to (all other places are read-only SQLite). Just exports one method batch() which writes one or more blocks to the index.
Decodes blocks from buffers
Ignores invalid blocks
Migrates previous schema versions if required
Writes each data type to a separate sqlite table
batch() resolves when documents are written to the index
If batch errors, should return details about any docs that were written
constindexer=newIndexer({schemaNames: []// Array of schema names to process})indexer.batch(blocks: Buffer[]): Promise<void>
IndexWriter
One instance that does all writing to the indexes. Only place where SQLite is written to (all other places are read-only SQLite). Just exports one method
batch()
which writes one or more blocks to the index.batch()
resolves when documents are written to the indexbatch
errors, should return details about any docs that were writtenDepends on:
Update to use drizzle-orm for SQLite CRUD mapeo-sqlite-indexer#9The text was updated successfully, but these errors were encountered: