go-rel / go-rel/rel

Extend Adapter interface to include function to return adapter name

Open
#345 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.