Lifter

case class Lifter(serializeQuat: SerializeQuat, serializeAst: SerializeAst) extends LifterProxy

Convert constructs of Quill Ast into Expr[Ast]. This allows them to be passed back an fourth between inline Quotation blocks during compile-time which should eventually be bassed into a run-call-site where they will be evaluated into SQL.

Note that liftable List is already taken care of by the Dotty implicits

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Classlikes

trait NiceLiftable[T] extends ToExpr[T]
object liftOperator extends NiceLiftable[Operator]
object liftPropertyAlias extends NiceLiftable[PropertyAlias]
object liftRenameable extends NiceLiftable[Renameable]
object liftVisbility extends NiceLiftable[Visibility]
object liftableAction extends NiceLiftable[Action]
object liftableAggregation extends NiceLiftable[AggregationOperator]
object liftableAssignment extends NiceLiftable[Assignment]
object liftableAssignmentDual extends NiceLiftable[AssignmentDual]
object liftableAst extends NiceLiftable[Ast]
object liftableCaseClass extends NiceLiftable[CaseClass]
object liftableConflictAction extends NiceLiftable[Action]
object liftableConflictTarget extends NiceLiftable[Target]
object liftableEntity extends NiceLiftable[Entity]
object liftableIdent extends NiceLiftable[Ident]
object liftableJoinType extends NiceLiftable[JoinType]
object liftableOptionOperation extends NiceLiftable[OptionOperation]
object liftableProperty extends NiceLiftable[Property]
object liftableQuat extends NiceLiftable[Quat]
object liftableQuatProduct extends NiceLiftable[Product]
object liftableQuery extends NiceLiftable[Query]
object liftableQuotationTag extends NiceLiftable[QuotationTag]
object liftableReturnAction extends NiceLiftable[ReturnAction]
object liftableScalarTag extends NiceLiftable[ScalarTag]
object liftableTraversableOperation extends NiceLiftable[IterableOperation]
object liftableTuple extends NiceLiftable[Tuple]
object orderingLiftable extends NiceLiftable[Ordering]

Value members

Concrete methods

def tryToSerialize[T <: Ast : Type](ast: Ast)(implicit evidence$3: Type[T], Quotes): Expr[T]

Inherited methods

def action(ast: Action): Quotes ?=> Expr[Action]
Inherited from:
LifterProxy
def apply(ast: Ast): Quotes ?=> Expr[Ast]
Inherited from:
LifterProxy
def assignment(ast: Assignment): Quotes ?=> Expr[Assignment]
Inherited from:
LifterProxy
def caseClass(ast: CaseClass): Quotes ?=> Expr[CaseClass]
Inherited from:
LifterProxy
def entity(ast: Entity): Quotes ?=> Expr[Entity]
Inherited from:
LifterProxy
def ident(ast: Ident): Quotes ?=> Expr[Ident]
Inherited from:
LifterProxy
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def quat(quat: Quat): Quotes ?=> Expr[Quat]
Inherited from:
LifterProxy
def quotationTag(v: QuotationTag): Quotes ?=> Expr[QuotationTag]
Inherited from:
LifterProxy
def returnAction(returnAction: ReturnAction): Quotes ?=> Expr[ReturnAction]
Inherited from:
LifterProxy
def scalarTag(v: ScalarTag): Quotes ?=> Expr[ScalarTag]
Inherited from:
LifterProxy
def tuple(ast: Tuple): Quotes ?=> Expr[Tuple]
Inherited from:
LifterProxy

Concrete fields

Extensions

Extensions

extension [T](list: List[T])
def spliceVarargs(implicit evidence$2: Type[T], ToExpr[T], Quotes): Expr[Seq[T]]
extension [T](t: T)
def expr(using ToExpr[T], Quotes): Expr[T]