Sha256: 640f3e93becceb8eb6bb4a679018966a71983def51da9df29e824c8a75b4911d
Contents?: true
Size: 385 Bytes
Versions: 10
Compression:
Stored size: 385 Bytes
Contents
module Mongoid module Scroll module Errors class MultipleSortFieldsError < Mongoid::Scroll::Errors::Base def initialize(opts = {}) if opts[:sort] && opts[:sort].is_a?(Hash) opts = opts.merge(sort: opts[:sort].keys.join(', ')) end super(compose_message('multiple_sort_fields', opts)) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems