Пример #1
0
 protected override void VisitWhereContains(WhereContainsExpression expression)
 {
     whereClause.AppendFormat("(doc[{0}]&&doc[{0}].indexOf({1})>=0)", MakeValue(expression.FieldName), MakeValue(expression.Value));
     this.viewNameBuilder.AppendFormat("{0}_CONTAINS_{1}", expression.FieldName, AsViewNameString(expression.Value));
 }
Пример #2
0
 protected abstract void VisitWhereContains(WhereContainsExpression expression);