Skip to content

Commit da4dd8a

Browse files
kinosangroji
authored andcommitted
Add support for PGroonga.EntityFrameworkCore EF.Functions
1 parent 4f2bb40 commit da4dd8a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/EFCore.PG/Query/Internal/NpgsqlEvaluatableExpressionFilter.cs

+7
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ public override bool IsEvaluatableExpression(Expression expression, IModel model
4545
return false;
4646
}
4747

48+
// PGroonga
49+
if (expression is MethodCallExpression exp &&
50+
exp.Method.DeclaringType?.FullName == "Microsoft.EntityFrameworkCore.PGroongaDbFunctionsExtensions")
51+
{
52+
return false;
53+
}
54+
4855
return base.IsEvaluatableExpression(expression, model);
4956
}
5057
}

0 commit comments

Comments
 (0)