grafeas / grafeas-pgsql

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

add 'has' filter #18

Closed bipe closed 10 months 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