Class InsertMultiple
- java.lang.Object
-
- net.lecousin.reactive.data.relational.query.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InsertMultiple.InsertRowValues
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
render(org.springframework.data.relational.core.sql.render.RenderContext renderContext)
String
toString()
-