To run the examples, use the cargo run
command:
# Run the `sqlite.rs` example:
cargo run --example sqlite
- sqlite: federate an entire query to a SQLite database.
- sqlite-partial: federate parts of a query to two separate SQLite database instances.
- postgres-partial: federate parts of a query to two separate PostgreSQL database instances. To run this example pass
--features postgres
to thecargo run
command.