~aleteoryx/muditaos

ref: b0f4836620fd8792f29b0868224fe0104f42ec90 muditaos/module-db/queries/README.md -rw-r--r-- 398 bytes
b0f48366 — Adam Dobrowolski [EGD-8170] Fixed crash on settings window 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