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

dal-go / dalgo2sql / 37322885797
100%

Build:
DEFAULT BRANCH: main
Ran 05 Oct 2026 02:13PM UTC
Jobs 1
Files 32
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

05 Oct 2026 02:12PM UTC coverage: 100.0% (+0.04%) from 99.963%
37322885797

push

github

web-flow
feat: add exact SQLite decimal functions (#221)

Decimal values stored as SQLite text previously required floating-point SQL arithmetic. Add explicit decimal SQL functions and a DECIMAL collation using bounded exact integer/rational arithmetic, preserving values beyond JavaScript's safe integer range.

Call `RegisterSQLiteDecimalFunctions()` before opening SQLite connections. Addition, subtraction, multiplication and sum return exact decimal text; division, average and rounding use half-even rounding at an explicit scale. Floats, malformed values and results beyond the documented 38-digit bounds fail clearly. Existing SQL query behavior is unchanged unless these helpers are used.

Validation: full Go suite with 100.0% statement coverage and zero lint issues in CI run 37322305142. Integration tests exercise both DAL reader APIs, simultaneous connections, NULL/empty aggregates, overflow, negative ties, numeric collation and registration failures. Independent review covers commit e2757db9b.

Source commits:

- f8c6541b4838 feat: add exact SQLite decimal functions
- a3bf69aa831b test: exercise decimal functions on multiple SQLite connections
- 36ed0053689b fix: resolve unrelated SQLite test lint findings
- e2757db9b7d5 test: complete SQLite decimal coverage and document API

Pull request: dal-go/dalgo2sql#221
Review: /private/tmp/demodb-decimal-sql-review.md

271 of 271 new or added lines in 1 file covered. (100.0%)

5618 of 5618 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37322885797.1 05 Oct 2026 02:13PM UTC 32
100.0
GitHub Action Run
Source Files on build 37322885797
  • Tree
  • List 32
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4791d6e6 on github
  • Prev Build on main (#37311126331)
  • Next Build on main (#37593716472)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc