MCPcopy
hub / github.com/micro/go-micro / sqlStore

Struct sqlStore

store/postgres/postgres.go:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60)
61
62type sqlStore struct {
63 options store.Options
64 dbConn *sql.DB
65
66 sync.RWMutex
67 // known databases
68 databases map[string]bool
69}
70
71func (s *sqlStore) getDB(database, table string) (string, string) {
72 if len(database) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected