Skip to content

Question : Is there any way we could create different interfaces for different sql files?? #996

@sagar23sj

Description

@sagar23sj

Current Behaviour :
I have 3 .sql files and when I am compiling them using sqlc generate(keeping emit_interface flag true), a single interface is created for all the auto-generated SQL queries.

Expected Behaviour :
Wanted to have different interfaces for different table operations.

Not having separate interface for each SQL file is creating a common interface which gets bulky everytime I add a query.

Can anyone suggest any way if possible to generate separate interfaces for separate SQL files?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions