Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ commitTx
Method
commitTx
duckdbservice/service.go:455–459 ·
view source on GitHub ↗
(tx *sql.Tx)
Source
from the content-addressed store, hash-verified
453
var
once sync.Once
454
closeRows :=
func
() error {
455
var
closeErr error
456
once.Do(
func
() {
457
closeErr = rows.Close()
458
s.connMu.Unlock()
459
})
460
return
closeErr
461
}
462
return
rows, closeRows, nil
Callers
1
EndTransaction
Method · 0.80
Calls
1
Commit
Method · 0.65
Tested by
no test coverage detected