YZ
Size: a a a
YZ
YZ
YZ
LN
YZ
LN
YZ
AG
YZ
LN
LN
LN
YZ
AI
const userProfileId = '1';
document.findAll({
include: [
{
model: documentStep,
include: [
{
model: documentSetting,
where: {
settingsProfileId: userProfileId,
documentTypeId: 'document.documentTypeId'
}
}
]
}
]
})
Могу ли я в documentSetting в условии обращаться к document?documentTypeId: 'document.documentTypeId'
YZ
const userProfileId = '1';
document.findAll({
include: [
{
model: documentStep,
include: [
{
model: documentSetting,
where: {
settingsProfileId: userProfileId,
documentTypeId: 'document.documentTypeId'
}
}
]
}
]
})
Могу ли я в documentSetting в условии обращаться к document?documentTypeId: 'document.documentTypeId'
AI
I
I
YZ
YZ