Asterisks (qualified and unqualified) are expressions that can be used
exclusively in SELECT clauses and a few other clauses that
explicitly allow for asterisks, including RETURNING on DML
statements. Asterisks are syntax sugar in SQL, which are expanded to a column
list by the parser once all the columns in the FROM clause are
known.
Example:
// Assuming import static org.jooq.impl.DSL.*;
using(configuration)
.select(ACTOR.asterisk())
.from(ACTOR)
.fetch();
Instances can be created using Table#asterisk().
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull QOM. | |
| public @NotNull Table | |
| public @NotNull QualifiedAsterisk | |
| public @NotNull QualifiedAsterisk | |
| public @NotNull QualifiedAsterisk | |
| public @NotNull Table |
| $except | back to summary |
|---|---|
| public @NotNull QOM. Experimental query object model accessor method, see also
| |
| $table | back to summary |
|---|---|
| public @NotNull Table Experimental query object model accessor method, see also
| |
| except | back to summary |
|---|---|
| public @NotNull QualifiedAsterisk except(String... fieldNames) The qualified asterisk (
This expression is a convenient way to select "all but some fields". Some
dialects (e.g. | |
| except | back to summary |
|---|---|
| public @NotNull QualifiedAsterisk except(Name... fieldNames) The qualified asterisk (
This expression is a convenient way to select "all but some fields". Some
dialects (e.g. | |
| except | back to summary |
|---|---|
| public @NotNull QualifiedAsterisk except(Field<?>... fields)
Deprecated as a consequence of The qualified asterisk (
This expression is a convenient way to select "all but some fields". Some
dialects (e.g. | |
| qualifier | back to summary |
|---|---|
| public @NotNull Table The qualifier.
| |