NiceUnliftable

io.getquill.parser.Unlifter.NiceUnliftable
trait NiceUnliftable[T] extends FromExpr[T]

Attributes

Graph
Supertypes
trait FromExpr[T]
class Object
trait Matchable
class Any
Known subtypes
object quatProductUnliftable.type
object quatUnliftable.type
object unliftAction.type
object unliftAggregation.type
object unliftAssignment.type
object unliftAssignmentDual.type
object unliftAst.type
object unliftCaseClass.type
object unliftConflictAction.type
object unliftConflictTarget.type
object unliftConstant.type
object unliftEntity.type
object unliftIdent.type
object unliftJoinType.type
object unliftOperator.type
object unliftOptionOperation.type
object unliftOrdering.type
object unliftProperty.type
object unliftPropertyAlias.type
object unliftQuery.type
object unliftRenameable.type
object unliftScalarTagSource.type
object unliftVisibility.type
Show all

Members list

Value members

Abstract methods

def unlift: Quotes ?=> PartialFunction[Expr[T], T]

Concrete methods

def apply(expr: Expr[T])(using Quotes): T
def attempt(expr: Expr[T])(using Quotes): Option[T]
def unapply(expr: Expr[T])(using Quotes): Option[T]

For things that contain subclasses, don't strictly check the super type and fail the match if the type fails since we can't do that when it could be a sub-type of the type being matched. The only thing we can do in that case is go through the sub-parser and see if anything matches.

For things that contain subclasses, don't strictly check the super type and fail the match if the type fails since we can't do that when it could be a sub-type of the type being matched. The only thing we can do in that case is go through the sub-parser and see if anything matches.

Attributes