-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Laravel Rest Api Version
2.9.0
Laravel Version
12
PHP Version
8.4.3
Database Driver & Version
postgres:15 on debian wsl
Description
PostgreSQL's native ILIKE operator for case-insensitive searches is not supported in the filter operators list, limiting search functionality when using PostgreSQL databases. This is particularly important for text-based searches where case sensitivity should be ignored.
Steps To Reproduce
- Set up a Laravel project with PostgreSQL
- Install
lomkit/laravel-rest-api - Configure a basic Resource (e.g.,
UserResource) with searchable fields - Send a GET request to
/api/userswith:
{
"filters": [{
"field": "name",
"operator": "ilike",
"value": "%Test%"
}]
}- Receive validation error: "The selected search.filters.0.operator is invalid"
Metadata
Metadata
Assignees
Labels
No labels