Add a method to the orm to create Model instances from raw sql queries
|Reported by:||Sean O'Connor||Owned by:||Sean O'Connor|
|Component:||Database layer (models, ORM)||Version:||master|
|Cc:||Alexander Koshelev, info@…, miracle2k, Robin Breathe, jdunck@…||Triage Stage:||Unreviewed|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
There should be a mechanism to easily convert the result of a raw sql query into model instances. It is currently possible to write code to generate model instances from raw sql query results but its a fair about of boring boiler plate code.