Does anyone know what is the effect of %
operator on varchar
?
I found this query in a project and don't really know what it is doing:
SELECT * FROM Location l where l.name % :param;
I supposed that it has the same effect that:
SELECT * FROM Location l where l.name LIKE '%:param%'
But I didn't find the explanation on PostgreSQL documentation.