[WIP] Add WhereClauseRewriter back to Translator

develop
Matija Koželj 2 years ago
parent c53cbe0096
commit 05dd763f1b

@ -16,7 +16,8 @@ internal sealed class TSqlLinguist : Linguist
public override Expression Translate(Expression expression) public override Expression Translate(Expression expression)
{ {
/* expression=WhereClauseRewriter.Rewrite()
/*
* fix up any order-by's * fix up any order-by's
*/ */
expression = OrderByRewriter.Rewrite(Language, expression); expression = OrderByRewriter.Rewrite(Language, expression);

@ -61,7 +61,7 @@ public class Translator
var result = ComparisonRewriter.Rewrite(rbound); var result = ComparisonRewriter.Rewrite(rbound);
//result = WhereClauseRewriter.Rewrite(context, result); result = WhereClauseRewriter.Rewrite(context, result);
return result; return result;
} }

Loading…
Cancel
Save