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
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,15 @@ See also [Level/community#79](https://github.com/Level/community/issues/79).
189
189
190
190
### `status` (boolean)
191
191
192
-
Does db have a [`status`](https://github.com/Level/abstract-leveldown/#dbstatus) property? Currently available on `abstract-leveldown` implementations, but not `levelup`.
192
+
Does db have a [`status`](https://github.com/Level/abstract-leveldown/#dbstatus) property? That returns a string value that is one of:
193
+
194
+
-`new` - newly created, not opened or closed
195
+
-`opening` - waiting for the store to be opened
196
+
-`open` - successfully opened the store
197
+
-`closing` - waiting for the store to be closed
198
+
-`closed` - store has been successfully closed.
199
+
200
+
The `new` status should be avoided. It is being phased out in favor of an initial status of `closed`.
0 commit comments