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

lightningnetwork / lnd / 19142678287

06 Nov 2025 04:30PM UTC coverage: 65.206%. First build
19142678287

Pull #10338

github

web-flow
Merge edd9890ac into 57eb251a0
Pull Request #10338: graph/db: freeze the SQL migration code

6 of 4691 new or added lines in 15 files covered. (0.13%)

137545 of 210938 relevant lines covered (65.21%)

20845.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/graph/db/migration1/sqlc/db.go
1
// Code generated by sqlc. DO NOT EDIT.
2
// versions:
3
//   sqlc v1.29.0
4

5
package sqlc
6

7
import (
8
        "context"
9
        "database/sql"
10
)
11

12
type DBTX interface {
13
        ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
14
        PrepareContext(context.Context, string) (*sql.Stmt, error)
15
        QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
16
        QueryRowContext(context.Context, string, ...interface{}) *sql.Row
17
}
18

NEW
19
func New(db DBTX) *Queries {
×
NEW
20
        return &Queries{db: db}
×
NEW
21
}
×
22

23
type Queries struct {
24
        db DBTX
25
}
26

NEW
27
func (q *Queries) WithTx(tx *sql.Tx) *Queries {
×
NEW
28
        return &Queries{
×
NEW
29
                db: tx,
×
NEW
30
        }
×
NEW
31
}
×
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