#[unsafe(no_mangle)]pub extern "C" fn pd_upsert_comment( doc_ptr: *const u8, doc_len: u32, comment_ptr: *const u8, comment_len: u32, ) -> u64
Insert or replace (by id) one comment. Returns the updated document.