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

KarpelesLab / psql / 22801727379
55%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2026 03:26PM UTC
Jobs 4
Files 50
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

07 Mar 2026 03:25PM UTC coverage: 69.792% (+0.5%) from 69.319%
22801727379

push

github

MagicalTux
Add hooks and associations support

Hooks: Interface-based lifecycle callbacks (BeforeInsert, AfterInsert,
BeforeUpdate, AfterUpdate, BeforeSave, AfterSave, AfterScan) called
during CRUD operations. Structs implement hook interfaces to receive
callbacks. Hook errors abort the operation.

Associations: Tag-based relationships (belongs_to, has_one, has_many)
declared via `psql` struct tags. Preload function loads related objects
efficiently using IN queries. WithPreload option for automatic loading
in Fetch/Get/FetchOne operations.

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

215 of 309 new or added lines in 8 files covered. (69.58%)

1 existing line in 1 file now uncovered.

2992 of 4287 relevant lines covered (69.79%)

84.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
46
76.65
assoc.go
18
73.29
-8.29% insert.go
11
64.49
2.25% fetch.go
8
80.0
6.32% update.go
4
77.78
-2.71% replace.go
4
86.67
0.82% table.go
2
0.0
0.0% fetchmap.go
1
40.66
0.0% query.go

Coverage Regressions

Lines Coverage ∆ File
1
86.67
0.82% table.go
Jobs
ID Job ID Ran Files Coverage
1 postgres - 22801727379.1 07 Mar 2026 03:27PM UTC 50
58.88
GitHub Action Run
2 sqlite - 22801727379.2 07 Mar 2026 03:26PM UTC 50
53.81
GitHub Action Run
3 cockroach - 22801727379.3 07 Mar 2026 03:27PM UTC 50
59.13
GitHub Action Run
4 mysql - 22801727379.4 07 Mar 2026 03:27PM UTC 50
55.75
GitHub Action Run
Source Files on build 22801727379
  • Tree
  • List 50
  • Changed 8
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22801727379
  • 2a102581 on github
  • Prev Build on master (#22800996947)
  • Next Build on master (#22801768737)
  • 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