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

knorm / relations / 85 / 1
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: renovate/pg-8.x
DEFAULT BRANCH: master
Ran 30 Sep 2018 01:17PM UTC
Files 2
Run time 0s
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

30 Sep 2018 01:15PM UTC coverage: 98.969% (+0.1%) from 98.855%
85.1

Pull #10

travis-ci

web-flow
feature: support multiple references

```js
class Foo extends Model {}
Foo.fields = { id: 'integer' };

class Bar extends Model {}
Bar.fields = { id: 'integer' };

class Quux extends Model {}
Foo.fields = {
  refId: {
    type: 'integer',
    // multiple references can be defined as an array
    // or as a function that returns an array
    references: [Foo.fields.id, Bar.fields.id]
  }
};

// these fetches would now supported:
Quux.fetch({ join: Foo });
Quux.fetch({ join: Bar });
Foo.fetch({ join: Quux });
Bar.fetch({ join: Quux });
```
Pull Request #10: feat: support multiple (array) references

94 of 97 branches covered (96.91%)

Branch coverage included in aggregate %.

194 of 194 relevant lines covered (100.0%)

105.15 hits per line

Source Files on job 85.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 64
  • Travis Job 85.1
  • 743f4b46 on github
  • Prev Job for on feature/multi-relations (#80.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