Class InsertMultiple


  • public class InsertMultiple
    extends Object
    Specify an INSERT query, with multiple rows.
    As Spring Data R2DBC does not support it, we define a custom request, but it cannot be used with MySql which does not support to return all generated values.
    An InsertMultiple can be used in a SqlQuery to be executed.
    Author:
    Guillaume Le Cousin
    • Constructor Detail

      • InsertMultiple

        public InsertMultiple​(org.springframework.data.relational.core.sql.Table into,
                              List<org.springframework.data.relational.core.sql.Column> columns,
                              List<List<org.springframework.data.relational.core.sql.Expression>> values)
    • Method Detail

      • render

        public String render​(org.springframework.data.relational.core.sql.render.RenderContext renderContext)