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

knorm / relations / 84 / 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:10PM UTC coverage: 98.969%. First build
84.1

push

travis-ci

joelmukuthu
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 });
```

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 84.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 65
  • Travis Job 84.1
  • 9319531b 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