[#1808] Optimise various ResultQuery.fetch(int),
ResultQuery.fetch(String) methods. They don't need to fetch all fields, only the required ones - Added a comment
This commit is contained in:
parent
25996db3f7
commit
7f3e0fb63d
@ -133,6 +133,9 @@ abstract class AbstractSelect<R extends Record> extends AbstractResultQuery<R> i
|
||||
|
||||
@Override
|
||||
protected final List<Field<?>> getFields(ResultSetMetaData meta) {
|
||||
|
||||
// [#1808] TODO: Restrict this field list, in case a restricting fetch()
|
||||
// method was called to get here
|
||||
List<Field<?>> select = getSelect();
|
||||
|
||||
// If no projection was specified explicitly, create fields from result
|
||||
|
||||
Loading…
Reference in New Issue
Block a user