remove unused LogicalOperators from dsl

deepcrayonfish^2
Niklas Fiekas 2021-11-13 22:27:38 +01:00
parent e0b09cde37
commit f46dc7536f
1 changed files with 0 additions and 8 deletions

View File

@ -295,13 +295,6 @@ trait dsl {
}
trait LogicalOperators { self: ElementBuilder =>
def $not(f: String => Expression[Bdoc]): SimpleExpression[Bdoc] = {
val expression = f(field)
SimpleExpression(field, $doc("$not" -> expression.value))
}
}
trait ElementOperators { self: ElementBuilder =>
def $exists(v: Boolean): SimpleExpression[Bdoc] = {
SimpleExpression(field, $doc("$exists" -> v))
@ -385,7 +378,6 @@ trait dsl {
with ComparisonOperators
with ElementOperators
with EvaluationOperators
with LogicalOperators
with ArrayOperators
implicit def toBSONDocument[V: BSONWriter](expression: Expression[V]): Bdoc =