diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-05-03 10:35:45 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-05-03 10:35:45 +0300 |
| commit | 20469145fe715884e343621233b202f4c5185c75 (patch) | |
| tree | 59698a59581d80d820a245946642000e19db7f81 | |
| parent | e04a63a4e0f35da7a61acca0b1b2ae0d12568d91 (diff) | |
Update README
| -rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
