Skip to content

Commit

Permalink
Update Src/Couchbase.Linq/QueryGeneration/MethodCallTranslators/DateM…
Browse files Browse the repository at this point in the history
…ethodCallTranslator.cs

Co-authored-by: Brant Burnett <[email protected]>
  • Loading branch information
gritse and brantburnett authored Aug 8, 2024
1 parent 6002dc8 commit 0dd8f30
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ public Expression Translate(MethodCallExpression methodCallExpression, N1QlExpre

expression.Append("DATE_TRUNC_STR(");
expressionTreeVisitor.Visit(methodCallExpression.Object);
expression.Append(",");
expression.Append(@"""day""");
expression.Append(")");
expression.Append(@",""day"")");

return methodCallExpression;
}
Expand Down

0 comments on commit 0dd8f30

Please sign in to comment.