We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class ItemWithEnumerable { public int[] Array { get; set; } public IEnumerable<int> Enumerable { get; set; } }
This works:
LiteDatabase.Find(i => i.Array.Contains(1));
This does not:
LiteDatabase.Find(i => i.Enumerable.Contains(1));
The text was updated successfully, but these errors were encountered:
add support for Contains in IEnumerable litedb-org#652
74222c8
0c07415
Do report a similar behavior for List.
Does not work with Query.Contains.
Sorry, something went wrong.
LINQ gets translated to the Query.Contains, but I noticed as well that it doesn't work with IEnumerables. Marked it as bug.
Merge pull request #2187 from visschersm/bug/#652-IEnumerableContains
78cd8bb
Created tests that show the collections contains methods work
No branches or pull requests
This works:
This does not:
The text was updated successfully, but these errors were encountered: