lp:~cjwatson/storm/case-sensitive-like-helpers
Created by
Colin Watson
and last modified
- Get this branch:
- bzr branch lp:~cjwatson/storm/case-sensitive-like-helpers
Only
Colin Watson
can upload to this branch. If you are
Colin Watson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Ioana Lasc (community): Approve
- Storm Developers: Pending requested
-
Diff: 103 lines (+43/-6)3 files modifiedNEWS (+10/-0)
storm/expr.py (+6/-6)
storm/tests/expr.py (+27/-0)
Branch information
Recent revisions
- 566. By Colin Watson
-
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)` ). - 557. By Colin Watson
-
Improve various docstrings, mainly fixing reST/epytext syntax. [r=ilasc,
doismellburning ]
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:storm