~cjwatson/storm/case-sensitive-like-helpers

  • Committer: Colin Watson
  • Date: 2020-12-07 22:38:36 UTC
  • Revision ID: cjwatson@canonical.com-20201207223836-489rgnkw6v0ru31v
Add optional case_sensitive argument to several Like helpers.

Comparable.startswith, Comparable.endswith, and Comparable.contains_string
are convenience wrappers around Like, but none of them supported the
case_sensitive option which Like supports on PostgreSQL.  This made using
PostgreSQL's ILIKE extension somewhat cumbersome in places: see
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/394702
for a verbose workaround that would be simpler with the aid of this patch
(e.g. `POMsgID.msgid.contains_string(text, case_sensitive=False)`).
Filename Latest Rev Last Changed Committer Comment Size
..
dev 424.2.1 12 years ago David Britton Adding some dev setup scripts. Diff
storm 1 17 years ago Gustavo Niemeyer Adding initial infrastructure. Diff
.bzrignore 554.1.2 3 years ago Colin Watson Add Sphinx documentation. This is loosely inspire 330 bytes Diff Download File
doc-requirements.txt 558 3 years ago Colin Watson Add doc-requirements.txt for readthedocs builds. 7 bytes Diff Download File
LICENSE 129 16 years ago Gustavo Niemeyer Added LGPL version 2.1 in the LICENSE file, and a 25.9 KB Diff Download File
Makefile 487.2.1 4 years ago Colin Watson Add tox testing support. 740 bytes Diff Download File
MANIFEST.in 554.1.2 3 years ago Colin Watson Add Sphinx documentation. This is loosely inspire 191 bytes Diff Download File
NEWS 566 3 years ago Colin Watson Add optional case_sensitive argument to several Li 27.8 KB Diff Download File
README 554.1.2 3 years ago Colin Watson Add Sphinx documentation. This is loosely inspire 6.2 KB Diff Download File
setup.cfg 413 12 years ago Barry Warsaw Add .tar.gz format. 32 bytes Diff Download File
File setup.py 557.1.2 3 years ago Colin Watson Convert CaptureTracer to the improved API in fixtu 2.6 KB Diff Download File
TODO 274 15 years ago Gustavo Niemeyer Updated TODO file with Gavin Panella's suggestion 2.4 KB Diff Download File
tox.ini 554.1.2 3 years ago Colin Watson Add Sphinx documentation. This is loosely inspire 562 bytes Diff Download File