Sequel Filter is a C# library that allows for filtering using a SQL-like syntax. The idea is to be able to provide end-users with completely customizable filtering without having to allow them to provide their own code or write your own filtering logic.
Sequel Filter is available as a nuget package. You can also install the package using the .net CLI:
dotnet add package SequelFilter
- Simple injection-free filtering logic
- Support for matching single objects or filtering
IEnumerable
s - Lightweight dependencies (only Irony parser required)
- Basic comparisons with support for loose type matching
- Combinational logic with
AND
/OR
- Support for
IN
,LIKE
,BETWEEN
andIS NULL
SQL operators - Support for searching child enumerables with
HAS_NONE
,HAS_ANY
,HAS_SINGLE
The best way to view the documentation is to visit the documentation on GitHub pages. Alternatively, you can view the documentation direct from the repository using the links to sections below.
- Introduction - introduction to the sequel filter library.
- Grammar - covers the grammar that you can use to filter objects with some examples.
- Code - how to integrate Sequel Filter into your project to allow filtering of objects.
- Contributing - covers useful information for anyone who wants to contribute to the project.
Any contributions are welcome. Code. Feedback on what you like or what could be better. Please feel free to fork the repo and make changes, the license is MIT so you're pretty much free to do whatever you like. For more information, please see the contributing section.
If you'd like to support the project but you don't want to contribute code - a really good way to help is spread the word. There isn't a donation or financial option because honestly I don't need donations. I am, however, rubbish at 'marketing'. So any help there would be greatly appreciated! Whether it's a blog post or just telling some folks at the office - every little helps.