extension QueryRepresentable  where Self: ExecutorRepresentable {
    /// Limits results to be distinct values
    func distinct() throws -> Query<E> {
        let query = try makeQuery()
        query.isDistinct = true
        return query
    }
}

extension QueryRepresentable  where Self: ExecutorRepresentable {
    /// Limits results to be distinct values
    public func distinct() throws -> Query<E> {
        let query = try makeQuery()
        query.isDistinct = true
        return query
    }
}

Fix .distinct() query modifier being internal instead of public.
Fix .distinct() query modifier being internal instead of public.
