Exemplo n.º 1
0
        public static IList <object> GetJsonExpression(Expression expression)
        {
            var visitor = new LiteCoreWhereExpressionVisitor();

            visitor.Visit(expression);
            return(visitor.GetJsonExpression());
        }
 public override void VisitWhereClause(WhereClause whereClause, QueryModel queryModel, int index)
 {
     _query["WHERE"] = LiteCoreWhereExpressionVisitor.GetJsonExpression(whereClause.Predicate);
     base.VisitWhereClause(whereClause, queryModel, index);
 }