add simple getTable

main 1.4.0
Jörg Prante 12 months ago
parent ad589e0d12
commit 95543ec9c6

@ -213,6 +213,8 @@ public interface Database extends Supplier<Database> {
long countRows(String statement, Map<String, Object> params);
Table getTable(String statement, Map<String, Object> params);
Table getSingleRow(String statement, Map<String, Object> params);
Table getTable(String statement,

@ -324,6 +324,11 @@ public class DatabaseImpl implements Database {
return getTable(statement, params, 1, options().fetchSize(), options().timeoutSeconds());
}
@Override
public Table getTable(String statement, Map<String, Object> params) {
return getTable(statement, params, 0, options().fetchSize(), options().timeoutSeconds());
}
@Override
public Table getTable(String statement, Map<String, Object> params,
int limit, int fetchSize, int timeoutSeconds) {

Loading…
Cancel
Save