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

stephenafamo / bob / 24925827698
44%
main: 47%

Build:
Build:
LAST BUILD BRANCH: perf/loader-eq-any-composite_index
DEFAULT BRANCH: main
Ran 25 Apr 2026 07:44AM UTC
Jobs 2
Files 241
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

25 Apr 2026 07:26AM UTC coverage: 43.8% (+0.006%) from 43.794%
24925827698

Pull #660

github

Roman A. Grigorovich
refactor(psql/mm): replace WHEN clause mods with fluent chain API

Change WhenMatched/WhenNotMatched/WhenNotMatchedByTarget/WhenNotMatchedBySource
from functional options pattern to method chaining.

Before:
  mm.WhenMatched(
      mm.And(condition),
      mm.ThenUpdate(mm.SetCol("x").ToExpr(e)),
  )

After:
  mm.WhenMatched().And(condition).ThenUpdate(
      mm.SetCol("x").ToExpr(e),
  )

Introduce WhenMatchedChain (for MATCHED / NOT MATCHED BY SOURCE)
and WhenNotMatchedChain (for NOT MATCHED [BY TARGET]) with
type-safe terminal methods: ThenUpdate, ThenDelete, ThenDoNothing,
ThenInsert, ThenInsertDefaultValues.

Remove standalone And, ThenDoNothing, ThenDelete, ThenUpdate,
ThenInsert, ThenInsertDefaultValues functions and WhenClause type.

Co-authored-by: Copilot <copilot@github.com>
Pull Request #660: refactor(psql/mm): replace WHEN clause mods with fluent chain API

78 of 82 new or added lines in 1 file covered. (95.12%)

8 existing lines in 1 file now uncovered.

10451 of 23861 relevant lines covered (43.8%)

590.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
94.92
-0.46% dialect/psql/mm/qm.go

Coverage Regressions

Lines Coverage ∆ File
8
75.95
-5.06% gen/aliases.go
Jobs
ID Job ID Ran Files Coverage
1 go-stable - 24925827698.1 25 Apr 2026 07:45AM UTC 241
43.8
GitHub Action Run
2 go-oldstable - 24925827698.2 25 Apr 2026 07:44AM UTC 241
43.8
GitHub Action Run
Source Files on build 24925827698
  • Tree
  • List 241
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #660
  • PR Base - main (#24911804507)
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