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

Method Exec

pkg/cli/database/sql.go:28–28  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

26// SQLCommon is the minimal interface required by a db connection
27type SQLCommon interface {
28 Exec(query string, args ...interface{}) (sql.Result, error)
29 Prepare(query string) (*sql.Stmt, error)
30 Query(query string, args ...interface{}) (*sql.Rows, error)
31 QueryRow(query string, args ...interface{}) *sql.Row

Callers 15

InitDBFunction · 0.65
initSystemKVFunction · 0.65
migrateToV8Function · 0.65
migrations.goFile · 0.65
initSchemaFunction · 0.65
executeFunction · 0.65
ExecMethod · 0.65
InsertMethod · 0.65
UpdateMethod · 0.65
UpdateUUIDMethod · 0.65
ExpungeMethod · 0.65
InsertMethod · 0.65

Implementers 1

DBpkg/cli/database/sql.go

Calls

no outgoing calls

Tested by 3

TestMigrate_idempotencyFunction · 0.52
TestMigrate_orderingFunction · 0.52
TestServerStartFunction · 0.52