MCPcopy Create free account
hub / github.com/cinar/indicator / Drop

Method Drop

asset/sql_repository.go:193–200  ·  view source on GitHub ↗

Drop drops the snapshots table.

()

Source from the content-addressed store, hash-verified

191
192// Drop drops the snapshots table.
193func (s *SQLRepository) Drop() error {
194 _, err := s.db.Exec(s.dialect.DropTable())
195 if err != nil {
196 return fmt.Errorf("unable to drop repository: %w", err)
197 }
198
199 return nil
200}

Callers 1

TestSQLRepositoryFunction · 0.95

Calls 2

ExecMethod · 0.80
DropTableMethod · 0.65

Tested by 1

TestSQLRepositoryFunction · 0.76