Class BatchQuery

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

public class BatchQuery extends AbstractBatchQuery<BatchQuery>
A PostgreSQL-specific implementation of AbstractBatchQuery.

Optimized for executing multiple insertion operations in a single database round-trip. Due to PostgreSQL's strict SQL compliance, "Replace" operations are explicitly disabled in favor of conflict resolution patterns.

  • Constructor Details

    • BatchQuery

      public BatchQuery(Database database, String table, String... columns)
      Constructs a new BatchQuery for PostgreSQL.
      Parameters:
      database - The PostgreSQL Database instance.
      table - The target table name.
      columns - The specific columns involved in the batch operation.