goja-core/src/main/java/goja/core/db/Dao.java
public static List<Record> findBy(SqlSelect sqlSelect) {
        Preconditions.checkNotNull(sqlSelect, "The Query SqlNode is must be not null.");
        return Db.find(sqlSelect.toString(), sqlSelect.getParams().toArray());
    }
public static List<Record> findBy(SqlSelect sqlSelect) {
        Preconditions.checkNotNull(sqlSelect, "The Query SqlNode is must be not null.");
        return Db.find(sqlSelect.toString(), sqlSelect.getParams().toArray());
    }
Query the database record set.

@param sqlSelect SqlNode Select
@return query result.
@see SqlSelect
@see FindBy