public static List < List < Object > > queryResults ( Connection connection , String sql , String [ ] args , GeoPackageDataType [ ] dataTypes , Integer limit ) { ResultSetResult result = wrapQuery ( connection , sql , args ) ; List < List < Object > > results = ResultUtils . buildResults ( result , dataTypes , limit ) ; return results ; }
Query for values up to the limit