|
|
@@ -356,6 +356,11 @@ public class DbPro {
|
|
|
return find(sql, NULL_PARA_ARRAY);
|
|
|
}
|
|
|
|
|
|
+ public List<Record> findAll(String tableName) {
|
|
|
+ String sql = config.dialect.forFindAll(tableName);
|
|
|
+ return find(sql, NULL_PARA_ARRAY);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Find first record. I recommend add "limit 1" in your sql.
|
|
|
* @param sql an SQL statement that may contain one or more '?' IN parameter placeholders
|