~aleteoryx/muditaos

ref: 2268e01df95f3aa20a14e60433a9673c8d18fc75 muditaos/module-db/queries/README.md -rw-r--r-- 398 bytes
2268e01d — Pawel Olejniczak [CP-599] Add crc hash to the last chunk of sent file 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