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(asterisk())
.from(ACTOR)
.fetch();
Instances can be created using DSL#asterisk().
Table#asterisk()
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull QOM. | |
| public @NotNull Asterisk | |
| public @NotNull Asterisk | |
| public @NotNull Asterisk |
| $except | back to summary |
|---|---|
| public @NotNull QOM. Experimental query object model accessor method, see also
| |
| except | back to summary |
|---|---|
| public @NotNull Asterisk except(String... fieldNames) The asterisk (
This expression is a convenient way to select "all but some fields". Some
dialects (e.g. | |
| except | back to summary |
|---|---|
| public @NotNull Asterisk except(Name... fieldNames) The asterisk (
This expression is a convenient way to select "all but some fields". Some
dialects (e.g. | |
| except | back to summary |
|---|---|
| public @NotNull Asterisk except(Field<?>... fields)
Deprecated as a consequence of The asterisk (
This expression is a convenient way to select "all but some fields". Some
dialects (e.g. | |