querySelect method
Adds a 'SELECT' statement to the SQL query.
The fields parameter is optional and defaults to ['*']. It should contain the list of fields to select.
This method adds a 'SELECT' statement to the _select list and then returns the SqlBuilder instance for method chaining.
Usage:
var builder = SqlBuilder();
builder.querySelect(fields: ['field1', 'field2']);
Implementation
SqlBuilder querySelect({List<String> fields = const ['*']}) {
_select.add('SELECT ${fields.join(', ')} ');
return this;
}