Skip to content

Generate an interface with the generated methods #2827

@pengux

Description

@pengux

What do you want to change?

Create an interface for Queries (perhaps named Dber) which contains all generated methods. This will allow users to mock the interface in tests and have the interface be updated automatically whenever the queries are updated.

What database engines need to be changed?

No response

What programming language backends need to be changed?

Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageNew issues that hasn't been reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions