idb-ts 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ class Location {
|
|
|
43
43
|
|
|
44
44
|
### CRUD on DB
|
|
45
45
|
```
|
|
46
|
-
const db =
|
|
46
|
+
const db = await Database.build("idb-crud", [User, Location]);
|
|
47
47
|
|
|
48
48
|
const alice = new User("Alice", 25, "123 Main St");
|
|
49
49
|
const nyc = new Location("1", "New York", "USA");
|