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 .