| Package | Description |
|---|---|
| net.pterodactylus.util.database |
Helper and abstraction classes for database interaction.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CountField
Convenience
Field implementation that creates a field that returns
the count of all rows. |
class |
ValueField
A value field stores its name and its value.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
OrderField.getField()
Returns the name of the field to sort by.
|
Field |
Join.getLeftField()
Returns the field of the previous table to match.
|
Field |
Join.getRightField()
Returns the field of the joined table to match with.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Query.addField(Field... fields)
Adds one or more fields to this query.
|
| Constructor and Description |
|---|
Join(Join.JoinType type,
String table,
Field leftField,
Field rightField)
Creates a new join between two tables.
|
OrderField(Field field)
Creates a new order field, sorting ascending by the given field.
|
OrderField(Field field,
OrderField.Order order)
Creates a new order field, sorting in the given order by the given field.
|
Copyright © 2026. All rights reserved.