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

paulbdavis / mongo
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: documentation
DEFAULT BRANCH: master
Repo Added 10 Jul 2014 03:26AM UTC
Files 3
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

LAST BUILD ON BRANCH tomongo-override
branch: tomongo-override
CHANGE BRANCH
x
Reset
  • tomongo-override
  • atomic-attributes
  • date-checker
  • documentation
  • master
  • mymaster
  • objectid-availability
  • parse-objectid
  • unset
  • update-mongoskin

pending completion
3

push

travis-ci

paulbdavis
add detection for toMongo method

First tried to detect method `model#toMongo()` to get the document used
for saving. This allows `model#toJSON()` to be overridden to hide
hidden/unneeded fields without messing up the database document
structure.

`model#toJSON()` is used as the fallback if the model prototype does not
have a `toMongo()` method.

132 of 132 relevant lines covered (100.0%)

15.91 hits per line

Relevant lines Covered
Build:
Build:
132 RELEVANT LINES 132 COVERED LINES
15.91 HITS PER LINE
Source Files on tomongo-override
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
3 tomongo-override add detection for toMongo method First tried to detect method `model#toMongo()` to get the document used for saving. This allows `model#toJSON()` to be overridden to hide hidden/unneeded fields without messing up the database document structure. ... push 10 Jul 2014 05:45PM UTC paulbdavis travis-ci pending completion  
2 tomongo-override add detection for toMongo method First tried to detect method `model#toMongo()` to get the document used for saving. This allows `model#toJSON()` to be overridden to hide hidden/unneeded fields without messing up the database document structure. ... push 10 Jul 2014 05:36PM UTC paulbdavis travis-ci pending completion  
See All Builds (43)
  • Repo 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