Skip to main content

export_tenant_jsonl

Function export_tenant_jsonl 

Source
pub fn export_tenant_jsonl(
    snap: &ReadView,
    tenant: TenantId,
) -> Result<(String, u64, u64), String>
Expand description

Export one tenant’s records and relationships as a JSONL document, returning the text plus (records, relationships) counts.

§Errors

Returns an error string if the underlying export fails or the produced bytes are not valid UTF-8.