better-buddy-share-backend
    Preparing search index...
    interface IStreamStatsDAO {
        countStatisticTypes(): Promise<number>;
        createStatisticType(
            name: string,
            description: string | null,
        ): Promise<StreamStatisticsType | null>;
        deleteStatisticTypeById(stream_statistic_type_id: number): Promise<boolean>;
        getAllStatisticTypes(): Promise<StreamStatisticsType[]>;
        getStatisticTypeById(
            stream_statistic_type_id: number,
        ): Promise<StreamStatisticsType | null>;
        getStatisticTypeByName(name: string): Promise<StreamStatisticsType | null>;
        statisticTypeExistsById(stream_statistic_type_id: number): Promise<boolean>;
        statisticTypeExistsByName(name: string): Promise<boolean>;
        updateStatisticType(
            stream_statistic_type_id: number,
            name: string,
            description: string | null,
        ): Promise<StreamStatisticsType | null>;
    }

    Implemented by

    Index

    Methods