Using "capitalize" filter in Function stack
Options
Gavril Loghin
Member ✭
Sorry in advance if this question is a bit redundant. I try to build a search bar and in my endpoint, I have created a condition WHERE input: text "search" = db "projects.item" and so far so good - the results are returned if I type the exact wording, but I would like to let my end-users to search no matter if they type lowercase or uppercase.
How or what is the best practice for adding the capitalize filter in my function stack?
Thanks a lot.
How or what is the best practice for adding the capitalize filter in my function stack?
Thanks a lot.
Comments
-
Use the LIKE operator instead of = for more flexible search
-
The includes operator is even easier. It always does a case insensitive partial match search.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback