Function duplicate
pub fn duplicate(
doc: &mut AutoCommit,
origin: &RecordCheckout,
) -> RecordCheckoutExpand description
Copy, the explicit verb: mints a new record id rather than reusing
the origin’s. The new document is created empty by the caller’s
next RecordSet::checkout; this returns the identity to check out.