mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-25 16:08:30 -04:00
Use database model in day events list instead of internal model. Extend getFiltered query. Co-authored-by: Tomas Rogala <rogala.tomasz1@gmail.com>
Virtual database query interface.
Instead manually creating switch cases for each possible query logic, create one
virtual query interface and push querying logic to db (where it's implemented)
- db::service accepts
GetByQuery(service, database, query) - it routes it to proper database on request (instead manually copying interfaces)
- db implements querying logics and returns response