CostDirective

A directive that can be applied to both fields and types to flag them as targets for cost analysis. This allows a simple estimation to be applied which can be used to prevent overly expensive queries from being executed

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(cost: Double): Directive
def apply(cost: Double, multipliers: List[String]): Directive