export class VideoFileQueryBuilder extends AbstractVideosModelQueryBuilder {
protected attributes: { [key: string]: string }
- protected joins: string[] = []
constructor (protected readonly sequelize: Sequelize) {
super('get')
}
private buildQuery () {
- return `${this.buildSelect()} FROM "video" ${this.joins.join(' ')} ${this.where}`
+ return `${this.buildSelect()} FROM "video" ${this.joins} ${this.where}`
}
}