Class TableBuilder

java.lang.Object
com.github.darksoulq.abyssallib.common.database.relational.AbstractTableBuilder<TableBuilder>
com.github.darksoulq.abyssallib.common.database.relational.postgres.TableBuilder

public class TableBuilder extends AbstractTableBuilder<TableBuilder>
A PostgreSQL-specific implementation of AbstractTableBuilder.

This class handles the construction of SQL CREATE TABLE statements, utilizing the SERIAL keyword for primary key auto-increment functionality common in PostgreSQL schemas.

  • Constructor Details

    • TableBuilder

      public TableBuilder(Database database, String table)
      Constructs a new TableBuilder for a PostgreSQL database.
      Parameters:
      database - The PostgreSQL Database instance.
      table - The name of the table to be created.