mirror of
https://github.com/RGBCube/JsonWrapper
synced 2025-07-27 19:57:44 +00:00
Update README.md
This commit is contained in:
parent
8cc87180fc
commit
493848dba0
1 changed files with 4 additions and 3 deletions
|
@ -23,7 +23,7 @@ Deletes everything in the JSON.
|
||||||
|
|
||||||
Use with caution.
|
Use with caution.
|
||||||
# Examples
|
# Examples
|
||||||
## `db.set("test", 123)`
|
## `db.set()`
|
||||||
Code
|
Code
|
||||||
```python
|
```python
|
||||||
from db import ClutterDB
|
from db import ClutterDB
|
||||||
|
@ -40,7 +40,8 @@ Output
|
||||||
```
|
```
|
||||||
{'test': 123}
|
{'test': 123}
|
||||||
```
|
```
|
||||||
## `db.get("test")`
|
## `db.get()`
|
||||||
|
###
|
||||||
Code
|
Code
|
||||||
```python
|
```python
|
||||||
from db import ClutterDB
|
from db import ClutterDB
|
||||||
|
@ -57,7 +58,7 @@ Output
|
||||||
```
|
```
|
||||||
123
|
123
|
||||||
```
|
```
|
||||||
## `db.rem("test")`
|
## `db.rem()`
|
||||||
Code
|
Code
|
||||||
```python
|
```python
|
||||||
from db import ClutterDB
|
from db import ClutterDB
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue