© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
3y ago
•
26 replies
kokpithua
Filtering many to many relations
Does anyone know how to filter based on two tables with a many to many relations
? I keep geeting the following error
SQLSTATE
[42S22
]
: Column not found
: 1054 Unknown column
'tags
' in
'where clause
'
SELECT
count
(
*
) AS aggregate
FROM
tasks
tasks
WHERE
(
tags
tags
IN
(2
)
)
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Filtering a many-to-many relationship.?
F
Filament / ❓┊help
3y ago
many to many relationship
F
Filament / ❓┊help
16mo ago
Relationship many to many
F
Filament / ❓┊help
2y ago
Many to many Relationship
F
Filament / ❓┊help
3y ago