protected SelectWhereStep<Record> _r(Table<Record> table,List<Field<Object>> viewer){ SelectWhereStep<Record> whereStep; if(viewer != null){ whereStep = context.select(viewer).from(table); }else{ whereStep = context.selectFrom(table); } return whereStep; }