Documentation of the ordering in oplog.values (#944)

* Documentation of the ordering in oplog.values

* Different wording not using 'time'.
This commit is contained in:
CSDUMMI
2021-12-31 12:55:16 +01:00
committed by GitHub
parent 4d19850699
commit 2b6b267285

3
API.md
View File

@@ -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
{