mirror of
https://github.com/RGBCube/JsonWrapper
synced 2025-07-27 11:47:45 +00:00
Update README.md
This commit is contained in:
parent
0885ae2ebe
commit
8cc87180fc
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
@ -40,6 +40,23 @@ Output
|
|||
```
|
||||
{'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")`
|
||||
Code
|
||||
```python
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue