Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Support to assemble SQL files #55

Open
urso opened this issue May 22, 2024 · 1 comment
Open

Build: Support to assemble SQL files #55

urso opened this issue May 22, 2024 · 1 comment

Comments

@urso
Copy link
Collaborator

urso commented May 22, 2024

For some projects the accompanying SQL file can become quite large. I'd love to have support to split the SQL file for development purposes and combine them at build time.

Due to SQL files being statements being executed one after another users must be able to correctly configure the order of those files.

@urso
Copy link
Collaborator Author

urso commented May 22, 2024

I'm thinking to use the C preprocessor. The zig toolchain already provides a C compiler which we could use without introducing any new dependencies. (The preprocessor can be run via zig cc -E <file>).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant