pharo-nosql / voyage

Voyage is an object persistence abstraction layer for Pharo.
MIT License
33 stars 21 forks source link

Unify querying interface #142

Closed noha closed 3 years ago

noha commented 5 years ago

At the moment (as it is a mongo inheritance) database can be queried either with a dictionary or mongo query. The distinction is not visible until it hits the database. We need to have decent query interface. For this the PersistenceQuery repo has been created factoring out from mongo query. The needed distinction needs to be only PersistenceQueries are allowed. Dictionary queries are still allowed but are supposed a native query that might only be parseable by the database backend.