LiteDB icon indicating copy to clipboard operation
LiteDB copied to clipboard

Usage of function in .Find

Open pedefe opened this issue 3 years ago • 0 comments

Hello,

In previous release, ".Find" request would accept function call: Like 👍

List<cEvent> events = colEvent.Find( x => testTitle( x, title)).ToList(); where testTitle() returns true of false.

It was very useful with complex function.

Now there is an exception "Expression must be accessible for writing\n Name of Parameter: left"

How to solve that ?

Best regards.

pedefe avatar Jun 27 '22 16:06 pedefe