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

tarantool / crud / 6466373641
88%

Build:
DEFAULT BRANCH: master
Ran 10 Oct 2023 08:22AM UTC
Jobs 1
Files 59
Run time 2s
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

10 Oct 2023 07:59AM UTC coverage: 89.14% (+0.03%) from 89.115%
6466373641

push

github

DifferentialOrange
api: return error if no tuples/objects

Before this patch, the behavior of `*_many` requests if empty array of
tuples/objects were rather confusing. For example, due to format
processing all `*_object_many` operations resulted in `nil, {}` --
error request with zero errors. `insert_many` and `replace_many` calls
result in `nil, nil` -- no result, no error. `upsert_many` results in
`{metadata = metadata}, nil` with no `rows` in response. Thus, for all
six `*_many` calls trying to execute the request with empty array on
input result in malformed response.

After this patch, trying to run `*_many` request with empty array of
tuples/objects will result in `nil, {err}`, similar to existing
`*_many` API. Single tuple crud API already does not allow to run with
no tuples/objects.

Closes #377

12 of 12 new or added lines in 3 files covered. (100.0%)

4572 of 5129 relevant lines covered (89.14%)

17909.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6466373641.1 10 Oct 2023 08:22AM UTC 59
89.14
GitHub Action Run
Source Files on build 6466373641
  • Tree
  • List 59
  • Changed 35
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6b20c8c5 on github
  • Prev Build on master (#6456507598)
  • Next Build on master (#6493431653)
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