You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently discovered TablePro, and I have been enjoying using it to browse datasets with a DuckDB backend. Thanks for building this!
TablePro currently supports the LIKE operator in its filters which does case-sensitive pattern matching. Some databases like DuckDB and Postgres also have support for an ILIKE operator which does case-insensitive matching, something which I find particularly useful when exploring datasets.
Currently, I am able to use ILIKE operations in TablePro by writing raw SQL in a filter or by running a dedicated query. It would be great if was part of the filter UI (the operators dropdown), to allow people to avoid manually writing SQL for it, and allow quick filtering by selecting/unselecting individual filters.
Proposed solution
I think this could be implemented in a few ways:
Add the ILIKE operator and one or more of its variants (contains / not contains / starts with / ends with) similar to the existing LIKE operator for databases that support it. I like this because this is explicit and makes the filter selection limited to 2 clicks like right now.
Add a new case-sensitive boolean selector on the existing LIKE operator variants in the filter. So a user could essentially build a filter saying: Column -> LIKE -> Case-insensitive. Then the backend could parse this into ILIKE for databases that support it, and a LOWER(Column) LIKE <value> for databases that don't.
Activity