~aleteoryx/muditaos

ref: 7fbaf735ed99f5b0d26adb686cfa6ed2bb4267d5 muditaos/module-db/queries/README.md -rw-r--r-- 398 bytes
7fbaf735 — Przemyslaw Brudny [EGD-7813] Option Window titles localizations fix 4 years 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