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:
parent
d493e2d4bf
commit
bae616273d
11 changed files with 338 additions and 145 deletions
|
@ -25,4 +25,8 @@ export class AbstractRunQuery {
|
|||
|
||||
return this.sequelize.query<any>(this.query, queryOptions)
|
||||
}
|
||||
|
||||
protected buildSelect (entities: string[]) {
|
||||
return `SELECT ${entities.join(', ')} `
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue