Class TableQuery

java.lang.Object
com.github.darksoulq.abyssallib.common.database.relational.AbstractTableQuery<TableQuery>
com.github.darksoulq.abyssallib.common.database.relational.mysql.TableQuery

public class TableQuery extends AbstractTableQuery<TableQuery>
A MySQL-specific implementation of AbstractTableQuery. Provides MySQL verbs and easy access to batch query operations.
  • Constructor Details

    • TableQuery

      public TableQuery(Database database, String table)
      Constructs a new TableQuery for MySQL.
      Parameters:
      database - The database manager.
      table - The table name.
  • Method Details

    • batch

      public BatchQuery batch(String... columns)
      Creates a BatchQuery for the current table.
      Parameters:
      columns - The columns to include in the batch.
      Returns:
      A new batch query instance.