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
db.new("id","val")// this will save the value "val" with identifier "id".
13
+
14
+
db.get("id") //this should return "val"
15
+
16
+
db.set("id","val2") //this will change the value of identifier "id" with value "val2".
17
+
18
+
db.getAll() //this should return String array containing all identifiers , but in this example we will only get "["id"]" as a result. The different the db different the result
19
+
20
+
db.del("id") //this will delete identifier "id" along with value "val2".
21
+
22
+
```
5
23
6
24
## Credits
7
25
These scripts were written by GamerFile on Bedrock Add-ons
0 commit comments