Skip to main content

storage.walkFileData()

Streams structured records from CSV/TSV, XLSX, NDJSON/JSONL, JSON arrays, or record-oriented XML into awaited callbacks. Plain text, top-level JSON objects, and binary files are not supported in record mode. mode: “lines” supports physical text lines without parsing CSV fields. Omitted take scans all rows. XLSX uses the first visible sheet by default; XML requires recordPath. Defaults: batchSize=2000, readBatchSize=100000; both accept 1–100,000. Source changes or callback errors stop the scan. Invalid CSV syntax rejects indexing with STORAGE_CSV_INVALID before the first business callback; diagnostics contain no raw data. Keep only aggregates.

Overloads

Example

See all storage methods or runtime basics.
Last modified on November 8, 2026