Skip to main content

encode_document_pathvalue

Function encode_document_pathvalue 

Source
pub fn encode_document_pathvalue(
    collection: &str,
    documents: &[DocPathValueRecord],
) -> Vec<u8> 
Expand description

Encode a document path/value (RDDP) artifact, byte-faithful to the server.

entity_id is written as a fixed little-endian u64 (the server passes entity_id.raw()), never a string.