Skip to content

Commit df11b2c

Browse files
In-memory: add change notes #96
1 parent e637770 commit df11b2c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

objectbox/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
int get computedValue => TODO;
4141
set computedValue(int value) => TODO;
4242
```
43+
* Use a file-less in-memory database, for example for testing, by setting `inMemoryIdentifier` when
44+
creating a `Store` instead of a `directory`. See the `Store` documentation for details.
45+
```dart
46+
final inMemoryStore =
47+
Store(getObjectBoxModel(), inMemoryIdentifier: "test-db");
48+
```
49+
* Add `Store.removeDbFiles()` to conveniently delete database files or an in-memory database.
4350

4451
## 2.4.0 (2023-12-13)
4552

0 commit comments

Comments
 (0)