© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Mostafa

search id column in table

postgress sql:
SQLSTATE[42883]: Undefined function: 7 ERROR: function lower(bigint) does not exist LINE 1: ...e from "blg_categories" where "type_id" = $1 and (lower(id):... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
SELECT
count(*) AS aggregate
FROM
"blg_categories"
WHERE
"type_id" = -9009
AND (
lower(id):: text LIKE % 1 %
OR lower(title):: text LIKE % 1 %
OR lower(slug):: text LIKE % 1 %
)
Solution
That's a Postgres specific issue, being triggered by a workaround for another Postgres specific issue (case insensitive searching).

Try turning that off like this:

TextColumn::make('id')
  ->searchable()
  ->forceSearchCaseInsensitive(false),
TextColumn::make('id')
  ->searchable()
  ->forceSearchCaseInsensitive(false),
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Global Search Table Column
FilamentFFilament / ❓┊help
2y ago
Search input per table column
FilamentFFilament / ❓┊help
3y ago
searching relation column in table search in filament 3
FilamentFFilament / ❓┊help
2y ago
Search in hidden column
FilamentFFilament / ❓┊help
3y ago