fn with_cursors(body: &str) -> StringExpand description
The caller’s document with cursors added.
Textual because the alternative is a KYAML writer for Search, and a round
trip through one would normalise whatever the caller wrote — including the
where terms, which is the part most likely to have a spelling this file
has not thought of. The caller’s bytes are left exactly as they arrived and
one key is added; query_handler then parses the result and refuses it if
this did not take.
Added, never replaced, so the caller’s document must not carry the key
already — query_handler checks that, because a mapping with cursors
twice is not a document and the replica rejects the whole read.