File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,28 @@ Does the database implement `db.snapshot()` and do read methods accept a `snapsh
98
98
| ` classic-level ` | Not yet |
99
99
| ` memory-level ` | Not yet |
100
100
| ` browser-level ` | ❌ |
101
+ | ` many-level ` | TBD |
101
102
| ` rave-level ` | TBD |
102
103
103
104
</details >
104
105
106
+ ### ` has ` (boolean)
107
+
108
+ Does the database implement ` has() ` and ` hasMany() ` ? Tracked in [ Level/community #142 ] ( https://github.com/Level/community/issues/142 ) .
109
+
110
+ <details >
111
+ <summary >Support matrix</summary >
112
+
113
+ | Module | Has |
114
+ | :-------------- | :------ |
115
+ | ` classic-level ` | Not yet |
116
+ | ` memory-level ` | Not yet |
117
+ | ` browser-level ` | Not yet |
118
+ | ` many-level ` | Not yet |
119
+ | ` rave-level ` | Not yet |
120
+
121
+ </details >
122
+
105
123
### ` permanence ` (boolean)
106
124
107
125
Does data survive after process (or environment) exit? Typically true. False for [ ` memory-level ` ] ( https://github.com/Level/memory-level ) .
Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ export interface IManifest {
31
31
*/
32
32
snapshots : boolean
33
33
34
+ /**
35
+ * Does the database implement `has()` and `hasMany()`?
36
+ */
37
+ has : boolean
38
+
34
39
/**
35
40
* Does data survive after process (or environment) exit?
36
41
*/
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ exports.supports = function supports (...manifests) {
11
11
implicitSnapshots,
12
12
explicitSnapshots,
13
13
snapshots : implicitSnapshots ,
14
+ has : manifest . has || false ,
14
15
permanence : manifest . permanence || false ,
15
16
seek : manifest . seek || false ,
16
17
createIfMissing : manifest . createIfMissing || false ,
You can’t perform that action at this time.
0 commit comments