debian-mirror-gitlab/lib/gitlab/graphql/pagination/offset_active_record_relation_connection.rb
2020-04-22 19:07:51 +05:30

14 lines
421 B
Ruby

# frozen_string_literal: true
# We use the Keyset / Stable cursor connection by default for ActiveRecord::Relation.
# However, there are times when that may not be powerful enough (yet), and we
# want to use standard offset pagination.
module Gitlab
module Graphql
module Pagination
class OffsetActiveRecordRelationConnection < GraphQL::Pagination::ActiveRecordRelationConnection
end
end
end
end