MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Drop

Method Drop

sqlchain/adapter/storage/covenantsql.go:56–61  ·  view source on GitHub ↗

Drop implements the Storage abstraction interface.

(dbID string)

Source from the content-addressed store, hash-verified

54
55// Drop implements the Storage abstraction interface.
56func (s *CovenantSQLStorage) Drop(dbID string) (err error) {
57 cfg := client.NewConfig()
58 cfg.DatabaseID = dbID
59 _, err = client.Drop(cfg.FormatDSN())
60 return
61}
62
63// Query implements the Storage abstraction interface.
64func (s *CovenantSQLStorage) Query(dbID string, query string, args ...interface{}) (columns []string, types []string, result [][]interface{}, err error) {

Callers

nothing calls this directly

Calls 3

FormatDSNMethod · 0.95
NewConfigFunction · 0.92
DropFunction · 0.92

Tested by

no test coverage detected