~aleteoryx/muditaos

ref: b3f228878dcebeb519d2206c9d333091abe650d0 muditaos/module-db/queries/README.md -rw-r--r-- 398 bytes
b3f22887 — GravisZro [EGD-7254] Fix submodule update script 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