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

knorm / knorm / 517 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 21 Sep 2018 09:59PM UTC
Files 11
Run time 1s
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

21 Sep 2018 09:48PM UTC coverage: 96.444% (-0.04%) from 96.484%
517.1

push

travis-ci

joelmukuthu
feat: support inserts/updates with raw sql

For example:

```js
Model.insert({ foo: Model.query.sql(`lower('FOO')`) });
Model.update({ id: 1, foo: Model.query.sql(`lower('FOO')`) });
```

**Field:** For raw sql values:

- all validators are bypassed except *required* and *validate*
  (custom validate functions). For custom validate functions, the
  raw sql is passed to the function
- pre-save cast functions will still be passed the raw sql value

610 of 650 branches covered (93.85%)

Branch coverage included in aggregate %.

963 of 981 relevant lines covered (98.17%)

238.71 hits per line

Source Files on job 517.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 110
  • Travis Job 517.1
  • 8ec7c5b4 on github
  • Prev Job for on master (#510.1)
  • Next Job for on master (#518.1)
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