// GetDisallowedMedia returns all disallowed media of the specified type
GetDisallowedMedia returns all disallowed media of the specified type
// GetDisallowedMedia returns all disallowed media of the specified type
func GetDisallowedMediaWithType(node sqalx.Node, mediaType MediaType, pagParams *PaginationParams) ([]*DisallowedMedia, uint64, error) {
	s := sdb.Select().
		Where(sq.Eq{"disallowed_media.media_type": string(mediaType)}).
		OrderBy("disallowed_media.media_type DESC")
	s = applyPaginationParameters(s, pagParams)
	return getDisallowedMediaWithSelect(node, s)
}
func GetDisallowedMediaWithType ( node sqalx . Node , mediaType MediaType , pagParams * PaginationParams ) ( [ ] * DisallowedMedia , uint64 , error ) { s := sdb . Select ( ) . Where ( sq . Eq { " " : string ( mediaType ) } ) . OrderBy ( " " ) s = applyPaginationParameters ( s , pagParams ) return getDisallowedMediaWithSelect ( node , s ) }
GetDisallowedMedia returns all disallowed media of the specified type
GetDisallowedMedia returns all disallowed media of the specified type