Skip to content

Multi-line queries #251

@andreoss

Description

@andreoss

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();

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