Files
db/heromodels/examples/grid4_example
2025-09-16 14:18:08 +02:00
..
2025-09-16 14:18:08 +02:00
2025-09-16 14:18:08 +02:00

Grid4 Node Example (OurDB)

This example demonstrates how to use the Grid4 Node model against the embedded OurDB backend.

  • Creates an in-memory/on-disk OurDB under /tmp.
  • Demonstrates CRUD and simple index lookups on country, nodegroupid, and pubkey.

Run it:

cargo run -p heromodels --example grid4_example