Skip to content

Add contains operation when list filetring #29

Description

@zavadzki72

When we are using list to filter (with contains), the translations of expression is similar to:

... WHERE field IN ('value1', 'value2') ...

Suggestion:
Has a new type in WhereOperator
image

Change and add validations in ExpressionFactory class
image

Add new case in switch of GetExpression method in FiltersExtensions class
image

Create method to build expression:
image

Use case example (updating RestFulTests):
image
image

I opened one PR with the updates #30

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions