func createDayCount()

in Sources/XCMetricsBackendLib/Statistics/Repositories/SQLStatisticsRepository.swift [86:90]


    func createDayCount(day: Date, using eventLoop: EventLoop) -> EventLoopFuture<Void> {
        return self.getCount(day: day, using: eventLoop).flatMap { count in
            count.create(on: self.db)
        }
    }