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