1
Fork 0
mirror of https://github.com/RGBCube/JsonWrapper synced 2025-07-27 19:57:44 +00:00

Update README.md

This commit is contained in:
RGBCube 2022-01-15 15:30:47 +03:00 committed by GitHub
parent 0885ae2ebe
commit 8cc87180fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,23 @@ Output
``` ```
{'test': 123} {'test': 123}
``` ```
## `db.get("test")`
Code
```python
from db import ClutterDB
db = ClutterDB("db.json")
db.set("test", 123)
data = db.get("test")
print(data)
```
Output
```
123
```
## `db.rem("test")` ## `db.rem("test")`
Code Code
```python ```python