Class TableQuery
java.lang.Object
com.github.darksoulq.abyssallib.common.database.relational.AbstractTableQuery<TableQuery>
com.github.darksoulq.abyssallib.common.database.relational.postgres.TableQuery
A PostgreSQL-specific implementation of
AbstractTableQuery.
This class provides fluent API access for standard SQL queries on a specific table.
Note that PostgreSQL does not support the REPLACE INTO syntax.
-
Constructor Summary
ConstructorsConstructorDescriptionTableQuery(Database database, String table) Constructs a new TableQuery for PostgreSQL. -
Method Summary
Modifier and TypeMethodDescriptionTransitions this query into a batch operation.Methods inherited from class AbstractTableQuery
count, delete, execute, executeAsync, exists, first, insert, limit, offset, orderBy, replace, select, select, selectAsync, selectAsync, update, value, where
-
Constructor Details
-
TableQuery
-
-
Method Details
-
batch
Transitions this query into a batch operation.- Parameters:
columns- The names of the columns to include in the batch.- Returns:
- A new
BatchQueryinstance.
-