selMany method
Selects many columns
to be fetched in the given table
. Use alias
to
alias the column name.
Implementation
Find selMany(Iterable<String> columns, {String? table}) {
if (table == null) {
for (String columnName in columns) {
final String name = columnName;
_column.add(SelColumn(name));
}
} else {
for (String columnName in columns) {
final String name = table + '.' + columnName;
_column.add(SelColumn(name));
}
}
return this;
}