MongoUpdateCompiler

oolong.mongo.MongoUpdateCompiler

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def handleValues(expr: MongoUpdateNode)(using q: Quotes): Expr[BsonValue]
def opt[Doc : Type](ast: UExpr)(implicit evidence$1: Type[Doc], quotes: Quotes): MongoUpdateNode

Translate AST into a form that allows us to do backend optimizations.

Translate AST into a form that allows us to do backend optimizations.

Attributes

def render(query: MongoUpdateNode)(using quotes: Quotes): String

Render the final optimized version of a query. Output will be displayed as a compilation message.

Render the final optimized version of a query. Output will be displayed as a compilation message.

Attributes

def renderOps(ops: List[String])(op: String): Option[String]
def target(optRepr: MongoUpdateNode)(using quotes: Quotes): Expr[BsonDocument]

Translate an optimized query into the target represantion; also lift the result into Expr[].

Translate an optimized query into the target represantion; also lift the result into Expr[].

Attributes

Inherited methods

def optimize(query: MongoUpdateNode)(using quotes: Quotes): OptimizableRepr

Perform optimizations that are specific to this backend.

Perform optimizations that are specific to this backend.

Attributes

Inherited from:
Backend (hidden)