MCPcopy
hub / github.com/dnote/dnote / Exec

Method Exec

pkg/cli/database/sql.go:86–88  ·  view source on GitHub ↗

Exec executes a sql

(query string, values ...interface{})

Source from the content-addressed store, hash-verified

84
85// Exec executes a sql
86func (d *DB) Exec(query string, values ...interface{}) (sql.Result, error) {
87 return d.Conn.Exec(query, values...)
88}
89
90// Prepare prepares a sql
91func (d *DB) Prepare(query string) (*sql.Stmt, error) {

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.65

Tested by

no test coverage detected