TableOrViewStatements<Tbl extends HasResultSet, Row> extension

Easily-accessible methods to compose common operations or statements on tables or views.



all() Selectable<Row>
Selects all rows that are in this table.
count({Expression<bool> where(Tbl row)?}) Selectable<int>
Counts the rows in this table.
select({bool distinct = false}) SimpleSelectStatement<Tbl, Row>
Composes a SELECT statement on the captured table or view.
selectOnly({bool distinct = false}) JoinedSelectStatement<Tbl, Row>
Composes a SELECT statement only selecting a subset of columns.