~aleteoryx/muditaos

ref: 8fafd788a5ef70d89e4d20cb80052261d13d09ff muditaos/module-db/queries/README.md -rw-r--r-- 398 bytes
8fafd788 — Paweł Joński [BH-1346] Fix minute singular copy in Spanish 3 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