Modulstruktur: storage/sql/compression/merge/query/txn + tests/examples/docs
CI / build-and-test (push) Successful in 47s

This commit is contained in:
2026-06-13 01:36:32 +02:00
parent 36df095fac
commit 81bdbe5e64
13 changed files with 242 additions and 98 deletions
+15
View File
@@ -0,0 +1,15 @@
//! Beispiel: der Delta-Row-Store in Aktion.
//! Starten mit: cargo run --example demo_delta
use pauldb::{Delta, Row};
fn main() {
let mut delta = Delta::new();
delta.insert(Row { id: 1, kategorie: "ABAP".into(), wert: 100.0 });
delta.insert(Row { id: 2, kategorie: "HANA".into(), wert: 250.5 });
println!("paulDB Demo {} Zeilen", delta.len());
for row in delta.scan() {
println!(" #{:<3} {:<6} {:>8.2}", row.id, row.kategorie, row.wert);
}
}