aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-05-03 10:35:45 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-05-03 10:35:45 +0300
commit20469145fe715884e343621233b202f4c5185c75 (patch)
tree59698a59581d80d820a245946642000e19db7f81 /README.md
parente04a63a4e0f35da7a61acca0b1b2ae0d12568d91 (diff)
Update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 16407c6..e6bc1a5 100644
--- a/README.md
+++ b/README.md
@@ -166,7 +166,7 @@ maturin build --release # for the release version
Then you can use the Python bindings like so:
```python
-from log_db_py import DB, Value, Record
+from autere_db import DB, Value, Record
config = DB.configure() \
.data_dir("data") \
@@ -176,6 +176,10 @@ config = DB.configure() \
.initialize()
db.upsert([Value.int(10)])
+
+# You can unwrap a database value like so:
+db_value = Value.string("foo")
+python_value = db_value.as_string()
```
## Copyright and license