selectOnly method

JoinedSelectStatement<Tbl, Row> selectOnly({
  1. bool distinct = false,
  2. bool includeJoinedTableColumns = true,
})

Composes a SELECT statement only selecting a subset of columns.

This is equivalent to calling DatabaseConnectionUser.selectOnly.

Implementation

JoinedSelectStatement<Tbl, Row> selectOnly(
    {bool distinct = false, bool includeJoinedTableColumns = true}) {
  return attachedDatabase.selectOnly(this,
      distinct: distinct,
      includeJoinedTableColumns: includeJoinedTableColumns);
}