Пример #1
0
 protected override void VisitWhereEndsWith(WhereEndsWithExpression expression)
 {
     var field = MakeValue(expression.FieldName);
     var value = MakeValue(expression.Value);
     whereClause.AppendFormat("(doc[{0}]&&doc[{0}].match(/{1}$/))", MakeValue(expression.FieldName), value);
     this.viewNameBuilder.AppendFormat("{0}_ENDSWITH_{1}", expression.FieldName, AsViewNameString(expression.Value));
 }
Пример #2
0
 protected abstract void VisitWhereEndsWith(WhereEndsWithExpression expression);