Filebase icon indicating copy to clipboard operation
Filebase copied to clipboard

Improvement: DocumentSet Entity needed for query

Open landall opened this issue 7 years ago • 1 comments

Query should separate the logic between findall and query itself.

A solution is to import the concept of DocumentSet. It seems like: $documents = $db->findAll(); or $documents = $db->find(['books','apples','writers','cars']); $documents->query(.....);

then public function Database::query(...) ==> $this->findAll()->query(...);

landall avatar Dec 06 '18 11:12 landall

Nice, Sounds like nosql way..

aalfiann avatar Jan 23 '19 02:01 aalfiann