pan>
</code></pre></div><h2 id="cost-estimation"><a href="#cost-estimation" class="header-anchor">#</a> Cost Estimation</h2> <p>The <code>queryCost</code> and <code>maxCost</code> wrappers as well as their variants can be used to estimate the cost of a query, however they require a bit
more set up to work properly.</p> <p>These wrappers are in the <code>CostEstimation</code> object which also comes with a special directive that can be used out of the box to instrument your
schema for cost analysis.</p> <p>G