Skip to main content

Module export

Module export 

Source
Expand description

Database export and import in human-readable JSON format.

Export scans all LanceDB datasets, deserialises the Arrow batches back into typed Rust records, and writes the result as pretty-printed JSON. Import parses the same format and appends the records into LanceDB datasets.

Structs§

ExportData
The on-disk JSON envelope.
ExportReport
Summary returned after an export operation.
ImportReport
Summary returned after an import operation.

Functions§

export
Export all records from LanceDB storage to a writer as JSON.
import
Import records from a JSON reader into LanceDB storage.