mattwhitfield / SequelFilter

SequelFilter is a C# library allowing objects to be filtered using a SQL like query language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SequelFilter

Introduction πŸ‘€

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.

Installation πŸ’Ύ

Sequel Filter is available as a nuget package. You can also install the package using the .net CLI:

dotnet add package SequelFilter

Library Features πŸ“š

  • Simple injection-free filtering logic
  • Support for matching single objects or filtering IEnumerables
  • Lightweight dependencies (only Irony parser required)

Grammar Features ✍

  • Basic comparisons with support for loose type matching
  • Combinational logic with AND / OR
  • Support for IN, LIKE, BETWEEN and IS NULL SQL operators
  • Support for searching child enumerables with HAS_NONE, HAS_ANY, HAS_SINGLE

Documentation πŸ“–

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.

Documentation Sections

  • 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.

Contributing βœ‹

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.

Support 🀝

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.

About

SequelFilter is a C# library allowing objects to be filtered using a SQL like query language

License:MIT License


Languages

Language:C# 100.0%