Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Improvement: DocumentSet Entity needed for query #39

Description

@landall

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(...);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions