Mapping custom queries

Explanation how to run and map custom queries