#[unsafe(no_mangle)]pub unsafe extern "C" fn sochdb_commit(
ptr: *mut DatabasePtr,
handle: C_TxnHandle,
) -> C_CommitResultExpand description
Commit a transaction. Returns C_CommitResult with commit_ts on success. The commit_ts is HLC-backed and monotonically increasing, suitable for MVCC observability, replication, and audit trails.
ยงSafety
The ptr must be a valid pointer returned by sochdb_open.