aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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