It took me a few minutes of frustration and a trip to the source code to figure out why the following code wasn't recognised
games.fullSearch <@ fun game -> game.Players |> List.contains playerId @>
It turns out I needed to add open LiteDB.FSharp.Extensions which isn't mentioned at all in the README.
I suggest simply adding open LiteDB.FSharp.Extensions to the initial example would suffice, after all any modern IDE will show you whether it is used or not.
It took me a few minutes of frustration and a trip to the source code to figure out why the following code wasn't recognised
It turns out I needed to add
open LiteDB.FSharp.Extensions
which isn't mentioned at all in the README.I suggest simply adding
open LiteDB.FSharp.Extensions
to the initial example would suffice, after all any modern IDE will show you whether it is used or not.