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

SRombauts / SQLiteCpp / 28825900628
99%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 09:55PM UTC
Jobs 1
Files 14
Run time 1min
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

06 Jul 2026 09:54PM UTC coverage: 99.248% (-0.4%) from 99.689%
28825900628

push

github

web-flow
Range for loop for statements (#545)

Closes #181

Adds a nested `RowIterator` class to `Statement` that enables
range-based for loops over query results:

```cpp
SQLite::Statement query(db, "SELECT id, name FROM test");
for (SQLite::Statement& row : query)
{
    std::cout << row.getColumn(0).getInt() << "\n";
}
```

Notes:
- `begin()` calls `reset()` automatically, so re-iterating the same
Statement always starts from the beginning
- Bindings set before the loop are preserved across `reset()`
- Empty result sets are handled correctly (loop body never executes)
- `RowIterator` satisfies `std::input_iterator_tag` with full iterator
traits

19 of 22 new or added lines in 1 file covered. (86.36%)

660 of 665 relevant lines covered (99.25%)

34.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.92
-1.5% src/Statement.cpp
Jobs
ID Job ID Ran Files Coverage
1 28825900628.1 06 Jul 2026 09:55PM UTC 14
99.25
GitHub Action Run
Source Files on build 28825900628
  • Tree
  • List 14
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28825900628
  • ff5f33c7 on github
  • Prev Build on master (#28533978851)
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