Extend Adapter interface to include function to return adapter name
Open
enhancement
- Dominant language
- Go
- Stars
- 786
- Forks
- 61
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 2
Description
Would be useful to allow check what adapter is used currently so that database type specific code could be executed only on right adapters.
```go
func Name() string
```
or
```go
func Type() string
```
that would return `mysql`, `postgres`, `sqlite3` etc
Contributor guide
Assessment
This issue has not been assessed yet.