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/videos-id-list-query-builder.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/videos-id-list-query-builder.ts')
-rw-r--r-- | server/models/video/sql/videos-id-list-query-builder.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/models/video/sql/videos-id-list-query-builder.ts b/server/models/video/sql/videos-id-list-query-builder.ts index 6e0d97d9e..30b251f0f 100644 --- a/server/models/video/sql/videos-id-list-query-builder.ts +++ b/server/models/video/sql/videos-id-list-query-builder.ts | |||
@@ -6,6 +6,12 @@ import { MUserAccountId, MUserId } from '@server/types/models' | |||
6 | import { VideoFilter, VideoPrivacy, VideoState } from '@shared/models' | 6 | import { VideoFilter, VideoPrivacy, VideoState } from '@shared/models' |
7 | import { AbstractVideosQueryBuilder } from './shared/abstract-videos-query-builder' | 7 | import { AbstractVideosQueryBuilder } from './shared/abstract-videos-query-builder' |
8 | 8 | ||
9 | /** | ||
10 | * | ||
11 | * Build videos list SQL query to fetch rows | ||
12 | * | ||
13 | */ | ||
14 | |||
9 | export type BuildVideosListQueryOptions = { | 15 | export type BuildVideosListQueryOptions = { |
10 | attributes?: string[] | 16 | attributes?: string[] |
11 | 17 | ||