# oddz/query_mapper

- **Source:** Software Heritage origin index (GitHub origins)
- **Licence:** Per source; see source terms
- **Citation:** https://git.go-v.org/record/oddz%2Fquery_mapper
- **Canonical:** https://git.go-v.org/record/oddz%2Fquery_mapper
- **JSON:** https://git.go-v.org/api/v1/record/oddz%2Fquery_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.

Read-only public data; missing values are published as no-data and never estimated. Operated by Anticloud FZ LLE — Lois-Kleinner Alpasan.