model: RequestVideoEvent['sequelize'].models.Video,
include: [
{
- model: RequestVideoEvent['sequelize'].models.Author,
+ model: RequestVideoEvent['sequelize'].models.VideoChannel,
include: [
{
- model: RequestVideoEvent['sequelize'].models.Pod,
- where: {
- id: {
- $in: podIds
+ model: RequestVideoEvent['sequelize'].models.Author,
+ include: [
+ {
+ model: RequestVideoEvent['sequelize'].models.Pod,
+ where: {
+ id: {
+ $in: podIds
+ }
+ }
}
- }
+ ]
}
]
}
model: RequestVideoEvent['sequelize'].models.Video,
include: [
{
- model: RequestVideoEvent['sequelize'].models.Author,
- where: {
- podId
- }
+ model: RequestVideoEvent['sequelize'].models.VideoChannel,
+ include: [
+ {
+ model: RequestVideoEvent['sequelize'].models.Author,
+ where: {
+ podId
+ }
+ }
+ ]
}
]
}