usernane / phMysql

PHP library for building MySQL database schema and quires.
MIT License
4 stars 2 forks source link

Mapping Custom Query Result to An Entity #19

Closed usernane closed 4 years ago

usernane commented 4 years ago

If I created a custom select SQL query and used the method MySQLQuery::setQuery(), I cannot use the mapper which is used to map query result to an entity class.

It would be great to have a way to set a mapping between the entity class and the custom query result.