/// <summary> /// Clones this clause. /// </summary> /// <param name="cloneContext">The clones of all query source clauses are registered with this <see cref="CloneContext" />.</param> /// <returns></returns> public virtual WhereMissingClause Clone(CloneContext cloneContext) { var clone = new WhereMissingClause(Predicate); return clone; }
public void VisitWhereMissingClause(WhereMissingClause whereClause, QueryModel queryModel, int index) { var expression = GetN1QlExpression(whereClause.Predicate); _queryPartsAggregator.AddWhereMissingPart(String.Concat(expression, " IS MISSING")); }
/// <summary> /// Clones this clause. /// </summary> /// <param name="cloneContext">The clones of all query source clauses are registered with this <see cref="CloneContext" />.</param> /// <returns></returns> public virtual WhereMissingClause Clone(CloneContext cloneContext) { var clone = new WhereMissingClause(Predicate); return(clone); }