oddz/query_mapper
Query level mapping of SQL result set to object hierarchy formed by any level of many or one relationships. This allows freedom in terms of the SQL, yet remove repeating results based on the primary key for each level of a relational hierarchy. The algorithm was built to support single field primary keys or any number of fields that may make up a primary key. Use of interfaces throughout make it very easy to create custom compatible objects in place of the default ones such as QueryMapperEntity, QueryMapperCollection and QueryMapperIterator. Note: This is not a ORM but a way of mapping single select query results to a object tree.
Query level mapping of SQL result set to object hierarchy formed by any level of many or one relationships. This allows freedom in terms of the SQL, yet remove repeating results based on the primary key for each level of a relational hierarchy. The algorithm was built to support single field primary keys or any number of fields that may make up a primary key. Use of interfaces throughout make it very easy to create custom compatible objects in place of the default ones such as QueryMapperEntity, QueryMapperCollection and QueryMapperIterator. Note: This is not a ORM but a way of mapping single select query results to a object tree.
Read full text or abstract (638 characters)
Cite this record
MLA
"oddz/query_mapper." Software Heritage origin index (GitHub origins), n.d., https://git.go-v.org/record/oddz%2Fquery_mapper.
Chicago
"oddz/query_mapper." Software Heritage origin index (GitHub origins). n.d.. https://git.go-v.org/record/oddz%2Fquery_mapper.
APA
Software Heritage origin index (GitHub origins). (n.d.). oddz/query_mapper. https://git.go-v.org/record/oddz%2Fquery_mapper