• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

niphlod / pydal / 108
79%
master: 54%

Build:
Build:
LAST BUILD BRANCH: fix/like_escaping
DEFAULT BRANCH: master
Ran 13 Mar 2017 12:39PM UTC
Jobs 2
Files 7
Run time 8min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
108

push

travis-ci

niphlod
fixes a few intricacies properly escaping LIKE statements

specifically, we used like with startswith and endswith, and contains,
improperly. We need correct (and "automagic") escaping when dealing with
those "pythonic" methods, else subtle bugs creep in.
As always, "like()" and "ilike()" maps to the exact statement in the
backend,with the usual behaviour.
like() and ilike() got also a new "escape" parameter in order to pass
whatever escaping character the user feel right. By default, the escape
character is `\`, and the term passed to the like is escaped with it.

well, it's been fun. 1st absolute time that a feature gets backported
from mssql to all t-sql backends. As usual, NoSQL is out of my reach,
and left as an exercise to the ones more well-versed into the matter.

247 of 313 relevant lines covered (78.91%)

10551.19 hits per line

Jobs
ID Job ID Ran Files Coverage
11 108.11 (ADAPTER=postgresPG8000) 13 Mar 2017 12:39PM UTC 0
78.91
Travis Job 108.11
13 108.13 (ADAPTER=google) 13 Mar 2017 12:48PM UTC 0
78.91
Travis Job 108.13
Source Files on build 108
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #108
  • 22114606 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc