~aleteoryx/muditaos

ref: fb32765132dc7fc877d45666e6ef4018eefcd1a4 muditaos/module-db/queries/README.md -rw-r--r-- 432 bytes
fb327651 — Bartosz Szostak [MOS-578] Fix incorrect logic with SMS notifications 2 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