Map results to model type
This converts the database response (an array of plain objects) to the expected model class.
The tests still pass, but I'm not 100% sure that there won't be any unexpected effects.
fixes #25
This converts the database response (an array of plain objects) to the expected model class.
The tests still pass, but I'm not 100% sure that there won't be any unexpected effects.
fixes #25