Class BatchQuery

java.lang.Object
com.github.darksoulq.abyssallib.common.database.relational.AbstractBatchQuery<BatchQuery>
com.github.darksoulq.abyssallib.common.database.relational.mysql.BatchQuery

public class BatchQuery extends AbstractBatchQuery<BatchQuery>
A MySQL-specific implementation of AbstractBatchQuery. Utilizes standard MySQL batch syntax including REPLACE and INSERT IGNORE.
  • Constructor Details

    • BatchQuery

      public BatchQuery(Database database, String table, String... columns)
      Constructs a new MySQL BatchQuery.
      Parameters:
      database - The Database instance providing the connection and pool.
      table - The name of the target table.
      columns - The column names to be included in the batch operation.