Skip to content

Package per model output#2890

@ewhauser

Description

@ewhauser

What do you want to change?

When using sqlc with build systems that support conditional building of changed targets, sqlc's model of all output to a single directory output breaks conditional compilation. A single database change causes us to recompile and run all the tests for our entire application due to this.

sqlc should have an option that splits models into their own files and those files plus queries are put into their own directories.

What database engines need to be changed?

No response

What programming language backends need to be changed?

Go, Python

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