From 20469145fe715884e343621233b202f4c5185c75 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 3 May 2025 10:35:45 +0300 Subject: Update README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.3