MCPcopy
hub / github.com/dnote/dnote / Query

Method Query

pkg/cli/database/sql.go:96–98  ·  view source on GitHub ↗

Query queries rows

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

Source from the content-addressed store, hash-verified

94
95// Query queries rows
96func (d *DB) Query(query string, values ...interface{}) (*sql.Rows, error) {
97 return d.Conn.Query(query, values...)
98}
99
100// QueryRow queries a row
101func (d *DB) QueryRow(query string, values ...interface{}) *sql.Row {

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected