Files @ 69e738523107
Branch filter:

Location: kallithea/docs/readme.rst

Andrew Shadura
db: match case-insensitively using func.lower, not ilike

ilike() uses SQL ILIKE operator internally, which means it interprets
'%' and '_' in the match pattern as wildcards. Instead of ilike(), it's
better to turn both operands to the lower case and compare them.

This also unbreaks the test case introduced in 13d0fe6f751a.
1
2
3
.. _readme:

.. include:: ./../README.rst