Grafeas Filtering in Golang

40 views
Skip to first unread message

Pruthav

unread,
Jun 6, 2022, 9:45:29 PM6/6/22
to Grafeas Users
Hi,
I have been trying to use a filter when querying the occurrences but there is no impact on the output.
Something like this:
    filterStr := fmt.Sprintf("kind=%q", common_go_proto.NoteKind_BUILD.String())
    respOccurrences, err := client.ListOccurrences(context.Background(),
        &pb.ListOccurrencesRequest{
            Parent:   "projects/occurrence_example",
            Filter:   filterStr,
        })

I was referencing some of the old posts 

They mention filtering was not supported as of then. Can someone help me with what can I try to onboard the filtering feature? Any databases that supports it today?

Thank you.
Reply all
Reply to author
Forward
0 new messages