File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -161,18 +161,6 @@ class ResultSet {
161
161
}
162
162
}
163
163
164
- // create objects, if desired
165
- if ( this . _impl . outFormat === constants . OUT_FORMAT_OBJECT ) {
166
- for ( let i = 0 ; i < rows . length ; i ++ ) {
167
- const origRow = rows [ i ] ;
168
- const newRow = rows [ i ] = { } ;
169
- const metaData = this . _impl . metaData ;
170
- for ( let j = 0 ; j < metaData . length ; j ++ ) {
171
- newRow [ metaData [ j ] . name ] = origRow [ j ] ;
172
- }
173
- }
174
- }
175
-
176
164
// run any conversion functions, if applicable
177
165
// NOTE: we mark the connection as no longer in progress before making
178
166
// calls to the converter function; this is needed to allow calls against
@@ -194,6 +182,18 @@ class ResultSet {
194
182
}
195
183
}
196
184
185
+ // create objects, if desired
186
+ if ( this . _impl . outFormat === constants . OUT_FORMAT_OBJECT ) {
187
+ for ( let i = 0 ; i < rows . length ; i ++ ) {
188
+ const origRow = rows [ i ] ;
189
+ const newRow = rows [ i ] = { } ;
190
+ const metaData = this . _impl . metaData ;
191
+ for ( let j = 0 ; j < metaData . length ; j ++ ) {
192
+ newRow [ metaData [ j ] . name ] = origRow [ j ] ;
193
+ }
194
+ }
195
+ }
196
+
197
197
}
198
198
199
199
//---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments