goja-core/src/main/java/goja/core/db/Dao.java
public static Record findOne(SqlSelect sqlSelect) {
        Preconditions.checkNotNull(sqlSelect, "The Query SqlNode is must be not null.");
        return Db.findFirst(sqlSelect.toString(), sqlSelect.getParams().toArray());
    }
public static Record findOne(SqlSelect sqlSelect) {
        Preconditions.checkNotNull(sqlSelect, "The Query SqlNode is must be not null.");
        return Db.findFirst(sqlSelect.toString(), sqlSelect.getParams().toArray());
    }
public static Record findOne ( SqlSelect sqlSelect ) { Preconditions . checkNotNull ( sqlSelect , "The Query SqlNode is must be not null." ) ; return Db . findFirst ( sqlSelect . toString ( ) , sqlSelect . getParams ( ) . toArray ( ) ) ; }
Query a data record.

@param sqlSelect SqlNode Select
@return query result.
@see SqlSelect
@see FindBy
Query a data record .