Methods
addIfAbsent
-
Parameters
Returns Promise<IStream>
getByMetaId
- getByMetaId(metaId: string): Promise<IStream[]>
-
Parameters
Returns Promise<IStream[]>
getByMetaIdAndInfoHash
- getByMetaIdAndInfoHash(metaId: string, infoHash: string): Promise<null | IStream>
-
Parameters
-
metaId: string
-
infoHash: string
Returns Promise<null | IStream>
getByStreamId
- getByStreamId(streamId: string): Promise<IStream[]>
-
Parameters
Returns Promise<IStream[]>
This class abstracts database operations related to the Stream model