From 2b6b267285bb6a9e8bbf835857423753b049fa5f Mon Sep 17 00:00:00 2001 From: CSDUMMI <31551856+CSDUMMI@users.noreply.github.com> Date: Fri, 31 Dec 2021 12:55:16 +0100 Subject: [PATCH] Documentation of the ordering in oplog.values (#944) * Documentation of the ordering in oplog.values * Different wording not using 'time'. --- API.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/API.md b/API.md index 6ec37e1..3442eb5 100644 --- a/API.md +++ b/API.md @@ -674,6 +674,9 @@ Oplog or IPFS-Log is the underlying data structure used by the OrbitDB Stores to replicate and add operations to any of their stores. ## `oplog.values` +An Array of operations sorted by how they happened in ascending order. +If an operation A is before B, A is before B in the Array. + Each oplog entry contains these fields: ```js {