Skip to content

Commit e24ecb8

Browse files
committed
Remove code which transforms strings representation of json array into actual array.
1 parent e4b2e0d commit e24ecb8

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

lib/util.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -329,16 +329,8 @@ const Util = {
329329
* Cast values to the correct type
330330
*/
331331
castValues (values) {
332-
return _.map(values, value => {
333-
if (_.isString(value) && value[0] === '[') {
334-
let arr = JSON.parse(value)
335-
if (_.isArray(arr)) {
336-
return arr
337-
}
338-
}
339-
340-
return value
341-
})
332+
// No special handling currently
333+
return values;
342334
},
343335

344336
castResultRows (rows, schema) {

0 commit comments

Comments
 (0)