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

msiemens / tinydb / 506 / 4
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 18 Feb 2018 01:57PM UTC
Files 8
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

18 Feb 2018 01:56PM UTC coverage: 100.0%. Remained the same
506.4

push

travis-ci

msiemens
Add Table.write_back(), replacing documents by ids (#184)

* Add Table.replace(), replacing doucments by ids

Compare to `update()`, `replace()` provide a more customizable workflow
to modify documents.
One can fistly search the documents and modify them by thier conditions,
then input new douments with thier `doc_ids` to `replace()`.

* Change replace() to able to get doc_ids by itself

* Add test for replace()

* Fix test of replace()

* Add test replace() return doc_ids

* Add replace() fail test

* Fix setup.py for pytest-runner failing in python 2.6

* Add check to prevent doc_id exceed

* Add test for replacing with exceeded doc_id

* Change function name 'replace' to 'write_back'

* Fix setup.py after merged 061add9

180 of 180 branches covered (100.0%)

Branch coverage included in aggregate %.

471 of 471 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 506.4
  • 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 1
  • Travis Job 506.4
  • 6b33fee0 on github
  • Prev Job for on master (#504.8)
  • Next Job for on master (#507.3)
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