attributes: [
sequelize_slave.literal(`(SELECT code_name FROM myModle
inner join -------------
inner join -------------
WHERE mymodel.id=[here I want to use the current id of myModel])`),
"code_name",
],
});
attributes: [
sequelize_slave.literal(`(SELECT code_name FROM myModle
inner join -------------
inner join -------------
WHERE mymodel.id=[here I want to use the current id of myModel])`),
"code_name",
],
});