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

Multi-line queries #251

Open
andreoss opened this issue Jan 2, 2024 · 0 comments
Open

Multi-line queries #251

andreoss opened this issue Jan 2, 2024 · 0 comments

Comments

@andreoss
Copy link
Collaborator

andreoss commented Jan 2, 2024

Let's allow JdbcSession#sql accept multiple String values, instead of explicitly using String.join

        new JdbcSession(this.source())
                .sql(
                                "CREATE TABLE IF NOT EXISTS foo (",
                                "id INT NOT NULL AUTO_INCREMENT, ",
                                "name VARCHAR(50), ",
                                "PRIMARY KEY (id)",
                                ")"
                )
                .execute();

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