Skip to content

Create complex filter with one property #1

@bgaillard

Description

@bgaillard

The purpose of this issue is to implement complex filters based on only one property.

We would add additional operators

  • + represents an AND operator
  • - represents an OR operator
  • ( and ) allows operator precedence

Here are some examples.

$this->productService->fetchAll(0, 12, ['price'   => '<10->2'   ]);
$this->productService->fetchAll(0, 12, ['price'   => '!10' ]);
$this->blogPostService->fetchAll(0, 12, ['title'     => "'Hand ball'-'Foot Ball'"]);
$this->blogPostService->fetchAll(0, 12, ['title'     => "'*ball*+"*tennis*'"]);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions