You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-12Lines changed: 28 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,42 +41,42 @@ Given zero or more manifest objects, returns a merged and enriched manifest obje
41
41
For future extensibility, the properties are truthy rather than strictly typed booleans. Falsy or absent properties are converted to `false`, other values are allowed:
For consumers of the manifest this means they should check support like so:
51
51
52
52
```js
53
-
if (db.supports.snapshots)
53
+
if (db.supports.seek)
54
54
```
55
55
56
56
Rather than:
57
57
58
58
```js
59
-
if (db.supports.snapshots===true)
59
+
if (db.supports.seek===true)
60
60
```
61
61
62
62
**Note:** the manifest describes high-level features that typically encompass multiple methods of a db. It is currently not a goal to describe a full API, or versions of it.
63
63
64
64
## Features
65
65
66
-
### `snapshots` (boolean)
66
+
### `implicitSnapshots` (boolean)
67
67
68
-
Does the database have snapshot guarantees? Meaning that reads are unaffected by simultaneous writes. For example, an iterator should read from a snapshot of the database, created at the time `db.iterator()` was called. This means the iterator will not see the data of simultaneous write operations.
69
-
70
-
Must be `false` if any of the following is true:
68
+
Does the database read from a snapshot as described in [`abstract-level`](https://github.com/Level/abstract-level?tab=readme-ov-file#reading-from-snapshots)? Must be `false` if any of the following is true:
71
69
72
70
- Reads don't operate on a snapshot
73
71
- Snapshots are created asynchronously.
74
72
73
+
Aliased as `snapshots` for backwards compatibility.
@@ -98,6 +98,22 @@ Must be `false` if any of the following is true:
98
98
99
99
</details>
100
100
101
+
### `explicitSnapshots` (boolean)
102
+
103
+
Does the database implement `db.snapshot()` and do read methods accept a `snapshot` option as described in [`abstract-level`](https://github.com/Level/abstract-level?tab=readme-ov-file#reading-from-snapshots)?
Does data survive after process (or environment) exit? Typically true. False for [`memory-level`](https://github.com/Level/memory-level) and [`memdown`](https://github.com/Level/memdown).
0 commit comments