Class BatchQuery
java.lang.Object
com.github.darksoulq.abyssallib.common.database.relational.AbstractBatchQuery<BatchQuery>
com.github.darksoulq.abyssallib.common.database.relational.mysql.BatchQuery
A MySQL-specific implementation of
AbstractBatchQuery.
Utilizes standard MySQL batch syntax including REPLACE and INSERT IGNORE.-
Constructor Summary
ConstructorsConstructorDescriptionBatchQuery(Database database, String table, String... columns) Constructs a new MySQL BatchQuery. -
Method Summary
Methods inherited from class com.github.darksoulq.abyssallib.common.database.relational.AbstractBatchQuery
add, execute, executeAsync, insert, insertIgnore, replace
-
Constructor Details
-
BatchQuery
Constructs a new MySQL BatchQuery.- Parameters:
database- TheDatabaseinstance providing the connection and pool.table- The name of the target table.columns- The column names to be included in the batch operation.
-