Use DSQuery when working with Metrics classes.
Projects Metrics not implemented yet.
If a None SQL query is received, return {}
If no subprojects exists, don't use them.