Postgresql – Query which searches in multiple columns for filter string
Using Postgresql and Spring. The Backend gets User Input from the frontend which is called "filter". I want the database "contacts" to be checked in multiple columns: @Query("SELECT c FROM Contacts c " + "WHERE LOWER(CAST(c.supplierNo AS string)) LIKE %:filter%…