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

Struct sqlStore

store/postgres/pgx/pgx.go:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34const defaultTable = "micro"
35
36type sqlStore struct {
37 options store.Options
38 re *regexp.Regexp
39 sync.Mutex
40 // known databases
41 databases map[string]DB
42}
43
44func (s *sqlStore) getDB(database, table string) (string, string) {
45 if len(database) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected