MCPcopy
hub / github.com/dnote/dnote / Prepare

Method Prepare

pkg/cli/database/sql.go:91–93  ·  view source on GitHub ↗

Prepare prepares a sql

(query string)

Source from the content-addressed store, hash-verified

89
90// Prepare prepares a sql
91func (d *DB) Prepare(query string) (*sql.Stmt, error) {
92 return d.Conn.Prepare(query)
93}
94
95// Query queries rows
96func (d *DB) Query(query string, values ...interface{}) (*sql.Rows, error) {

Callers

nothing calls this directly

Calls 1

PrepareMethod · 0.65

Tested by

no test coverage detected