patx/mongokv
Update example in README for db.set usage
Commit 9e23b7e · patx · 2025-12-16T23:14:03-05:00
Comments
No comments yet.
Diff
diff --git a/README.md b/README.md
index 51b6e97..b9efbc8 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,8 @@ read the [API Docs and User Guide here](https://patx.github.io/mongokv).
>>> from mongokv import Mkv
>>> db = Mkv('mongodb://localhost:27071')
->>> db.set('hello', {'name': 'world', 'status': 'green'})
+>>> db.set('hello', 'world')
>>> db.get('hello')
-{'name': 'world', 'status': 'green'}
+'world'
```