grafeas / grafeas-pgsql

Grafeas with PostgreSQL backend
Apache License 2.0
14 stars 21 forks source link

add 'has' filter #17

Closed bipe closed 1 year ago

bipe commented 1 year ago

Context

The current filtering feature lacks the use of the 'has' operator, making it impossible to search for substrings.

Description

This PR implements the has filtering based on the like SQL operator. Filter expression example: resource.name:"str" to search for entries containing the substring "str" in the value of resource.name

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

bipe commented 1 year ago

Something went wrong with the CLA so I'll be opening another one with the correct CLA data