patx/mongokv

Update example in README for db.set usage

Commit 9e23b7e · patx · 2025-12-16T23:14:03-05:00

Changeset
9e23b7e1fc217a6ccb56d3a5c8ff941650e44a31
Parents
ac2a233678510f6cddce4901bff55ed2792d7ae0

View source at this commit

Comments

No comments yet.

Log in to comment

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'
 ```