vierge-noire / cakephp-fixture-factories

CakePHP Fixture Factories
https://vierge-noire.github.io/
MIT License
83 stars 21 forks source link

v3.1 get result set #235

Open pabloelcolombiano opened 9 months ago

pabloelcolombiano commented 9 months ago

In v3.1, we want to introduce the:

methods: These will return a result set , that is a collection of entities, and are bound to replace in v4 the getEntity, getEntities and persist methods.

In addition, we introduce the SelectQueryMocker that will mock the reponse of a select query on a given factory's table. Check the doc in the associated PR.

Please share your thoughts on this new approach, the method names, etc.

This will be a major improvement of the plugin, I am really looking forward to it!