Ensure the target schema/collection exists for a table. Creates it if it doesn't exist, using a sample row to infer column types.
Table name to create.
A sample row to derive schema from.
Write a batch of rows to the target. Uses INSERT OR REPLACE / upsert semantics to handle duplicates.
Table name to write to.
Array of row objects.
Number of rows successfully written.
Adapter for writing data to a migration target backend. Implementations exist for SQLite, Postgres, and Qdrant.