Java 类org.jooq.SelectWhereStep 实例源码

项目:practice    文件:CRUDProvider.java   
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;
}