1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Convert followers/following in raw SQL queries

Prevent weird bug in SQL generation
This commit is contained in:
Chocobozzz 2022-05-05 10:29:35 +02:00
parent d493e2d4bf
commit bae616273d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
11 changed files with 338 additions and 145 deletions

View file

@ -25,4 +25,8 @@ export class AbstractRunQuery {
return this.sequelize.query<any>(this.query, queryOptions)
}
protected buildSelect (entities: string[]) {
return `SELECT ${entities.join(', ')} `
}
}