~aleteoryx/muditaos

ref: 9b9c14588f57649750e85d71d359116d3f933079 muditaos/module-db/queries/README.md -rw-r--r-- 432 bytes
9b9c1458 — Maciej Gibowicz [BH-2033] Fix timer settings for fade in and fade out 1 year, 4 months ago

#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