Update README.md
This commit is contained in:
parent
73f933fb6f
commit
1788a980de
@ -173,10 +173,10 @@ You can create as many tables as you want. The default table is called `default`
|
|||||||
fiable_db.add({"name": "Luciano", "age": 54, "height": 165}, table="users")
|
fiable_db.add({"name": "Luciano", "age": 54, "height": 165}, table="users")
|
||||||
# {"id": 1, "rev": 1, "data": {"name": "Luciano", "age": 54, "height": 165}}
|
# {"id": 1, "rev": 1, "data": {"name": "Luciano", "age": 54, "height": 165}}
|
||||||
|
|
||||||
fiable_db.find_one(id=1, table="users") // "users" table
|
fiable_db.find_one(id=1, table="users") # "users" table
|
||||||
# {"id": 1, "rev": 1, "data": {"name": "Luciano", "age": 54, "height": 165}}
|
# {"id": 1, "rev": 1, "data": {"name": "Luciano", "age": 54, "height": 165}}
|
||||||
|
|
||||||
fiable_db.find_one(id=1) // Default table
|
fiable_db.find_one(id=1) # Default table
|
||||||
# {"id": 1, "rev": 1, "data": {"name": "Miguel", "age": 41, "height": 189}}
|
# {"id": 1, "rev": 1, "data": {"name": "Miguel", "age": 41, "height": 189}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user