Following is the output of join query using sequelize ORM
[ dashboard_grid_elements {
dataValues:
{ id: 1,
grid_id: '816',
type: 1,
subtype: 1,
created_at: 2018-04-09T13:33:05.776Z,
updated_at: 2018-04-09T13:33:05.776Z },
_previousDataValues:
{ id: 1,
grid_id: '816',
type: 1,
subtype: 1,
created_at: 2018-04-09T13:33:05.776Z,
updated_at: 2018-04-09T13:33:05.776Z },
_changed: {},
_modelOptions:
{ timestamps: true,
validate: {},
freezeTableName: true,
underscored: true,
underscoredAll: false,
paranoid: false,
rejectOnEmpty: false,
whereCollection: null,
schema: null,
schemaDelimiter: '',
defaultScope: {},
scopes: [],
indexes: [],
name: [Object],
omitNull: false,
tableName: 'dashboard_grid_elements',
sequelize: [Object],
hooks: {},
uniqueKeys: {} },
_options:
{ isNewRecord: false,
_schema: null,
_schemaDelimiter: '',
include: undefined,
includeNames: undefined,
includeMap: undefined,
includeValidated: true,
raw: true,
attributes: undefined },
__eagerlyLoadedAssociations: [],
isNewRecord: false } ]
When trying to get the value of type using dashboard_grid_elements.type,it shows undefined.Is there any way to parse this json object.