OptionalFieldCondition

Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def fromOptionExpr(using quotes: Quotes)(expr: Expr[Option[Any]], condition: Expr[Boolean]): Option[OptionalFieldCondition]
def gatherFromClassBody(using quotes: Quotes)(classBody: List[Statement]): List[OptionalFieldCondition]

Extensions

Extensions

extension (conditions: List[OptionalFieldCondition])
def uniqueConditionOn(using Quotes)(fieldName: String): Option[Expr[Boolean]]