MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / NewStmt

Function NewStmt

internal/utils/dbs/stmt.go:19–25  ·  view source on GitHub ↗
(db *DB, rawStmt *sql.Stmt, query string)

Source from the content-addressed store, hash-verified

17}
18
19func NewStmt(db *DB, rawStmt *sql.Stmt, query string) *Stmt {
20 return &Stmt{
21 db: db,
22 rawStmt: rawStmt,
23 query: query,
24 }
25}
26
27func (this *Stmt) EnableStat() {
28 this.enableStat = true

Callers 1

PrepareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected