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

KarpelesLab / psql / 22812821516
55%

Build:
DEFAULT BRANCH: master
Ran 08 Mar 2026 03:17AM UTC
Jobs 1
Files 52
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

08 Mar 2026 03:13AM UTC coverage: 62.06% (-8.5%) from 70.513%
22812821516

push

github

MagicalTux
Add lazy batch grouping, many-to-many, soft delete, and scopes

Lazy futures now batch all pending requests for the same table/column
into a single WHERE col IN (...) query, using atomic flags and channels
to avoid sync.Once deadlocks with concurrent resolution.

Many-to-many associations via psql:"many_to_many:JoinTable,FK,OtherFK"
tag, with string-normalized key matching for join table scan results.

Soft delete for tables with DeletedAt *time.Time field: Delete() sets
the timestamp, ForceDelete() bypasses it, Restore() clears it, and
IncludeDeleted() includes deleted records in queries.

Scopes as composable query modifiers (func(*QueryBuilder) *QueryBuilder)
applied via WithScope() in FetchOptions or Apply() on QueryBuilder.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

267 of 328 new or added lines in 10 files covered. (81.4%)

462 existing lines in 14 files now uncovered.

2874 of 4631 relevant lines covered (62.06%)

35.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
77.42
softdelete.go
8
66.67
-0.68% delete.go
8
0.0
0.0% fetchmap.go
11
77.69
77.69% lazy.go
27
78.06
1.41% assoc.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
66.67
-0.68% delete.go
1
72.13
5.31% fetch.go
2
36.11
-5.56% export.go
4
0.0
0.0% fetchmap.go
4
75.56
-4.44% replace.go
4
78.18
-3.64% update.go
7
50.0
-43.75% log.go
9
71.23
-4.79% insert.go
16
38.71
-12.9% setter.go
27
47.9
-14.97% key.go
29
54.4
-15.03% field.go
51
45.8
-38.93% backend.go
141
0.0
-75.4% sqlite.go
166
39.76
-40.49% check.go
Jobs
ID Job ID Ran Files Coverage
1 cockroach - 22812821516.1 08 Mar 2026 03:17AM UTC 52
62.06
GitHub Action Run
Source Files on build 22812821516
  • Tree
  • List 52
  • Changed 11
  • Source Changed 8
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22812821516
  • 99c0fd01 on github
  • Prev Build on master (#22812058263)
  • Next Build on master (#22813031305)
  • Delete
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