Files
gree-controller/src/queries.rs
T
2026-08-30 13:39:29 +02:00

14 lines
592 B
Rust

//! Centralized SQLite statements used by the controller.
//!
//! Keep SQL in this module so database access code stays focused on mapping,
//! transactions and domain behavior. New queries and schema migrations should
//! be added here instead of embedding SQL strings in other Rust modules.
// Functional source split intentionally keeps items in the existing module namespace.
include!("queries/schema.rs");
include!("queries/entities.rs");
include!("queries/device_history.rs");
include!("queries/zone_history.rs");
include!("queries/ha_history.rs");
include!("queries/maintenance.rs");