pluck<T> method
Get a list of values for a single column.
final emails = await DB.table('users').pluck<String>('email');
Implementation
Future<List<T>> pluck<T>(String column) async {
_selectColumns = [column];
final results = await get();
return results.map((row) => row[column] as T).toList();
}