plane_drone

Module database

Source
Expand description

Interface to the shared sqlite database.

All interaction between the proxy and the agent happen asynchronously by updating the state of the sqlite database.

Queries are type-checked by the Rust compiler using sqlx, based on type information stored in sqlx-data.json. If you change a query in this file, you will likely need to run generate-sqlx-data.mjs to get Rust to accept it.

Structsยง