diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-10 16:57:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-11 09:31:59 +0200 |
commit | 1d43c3a613c72d69f7360fee9e5bfe6f662d62f7 (patch) | |
tree | d4ba891ffdb1182e39620c06feff1503365d66b5 /server/models/video/sql/shared/video-attributes.ts | |
parent | d9bf974f5df787bbeaab5b04949ca91a2b3ca2a3 (diff) | |
download | PeerTube-1d43c3a613c72d69f7360fee9e5bfe6f662d62f7.tar.gz PeerTube-1d43c3a613c72d69f7360fee9e5bfe6f662d62f7.tar.zst PeerTube-1d43c3a613c72d69f7360fee9e5bfe6f662d62f7.zip |
Use separate queries for video files
Diffstat (limited to 'server/models/video/sql/shared/video-attributes.ts')
-rw-r--r-- | server/models/video/sql/shared/video-attributes.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/models/video/sql/shared/video-attributes.ts b/server/models/video/sql/shared/video-attributes.ts index 1a1650dc7..e21b33c73 100644 --- a/server/models/video/sql/shared/video-attributes.ts +++ b/server/models/video/sql/shared/video-attributes.ts | |||
@@ -1,3 +1,9 @@ | |||
1 | |||
2 | /** | ||
3 | * | ||
4 | * Class to build video attributes we want to fetch from the database | ||
5 | * | ||
6 | */ | ||
1 | export class VideoAttributes { | 7 | export class VideoAttributes { |
2 | 8 | ||
3 | constructor (readonly mode: 'get' | 'list') { | 9 | constructor (readonly mode: 'get' | 'list') { |