Skip to content

Extend Adapter interface to include function to return adapter name #345

@lafriks

Description

@lafriks

Would be useful to allow check what adapter is used currently so that database type specific code could be executed only on right adapters.

func Name() string

or

func Type() string

that would return mysql, postgres, sqlite3 etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions