Filtering a many-to-many relationship.?

IS there a build in function to filter a many-to-many relationship or should i write a custom query for this. If so what would be best practice?
1 Reply
Cybrarist
Cybrarist2y ago
Tables\Filter\SelectFilter::make('ModelBs')->relationship('ModelBs', 'name')->multiple()
Tables\Filter\SelectFilter::make('ModelBs')->relationship('ModelBs', 'name')->multiple()
Want results from more Discord servers?
Add your server