Select Filter with Group By from Column not Relationship

I would like to create a SelectFilter using a column in a table. It's not a relationship so I need to do a query and pluck the name but the options field only accept hardcoded arrays.

How do I query the fields inside options method?
Was this page helpful?