instance method sharded?

Ruby on Rails 8.0.4

Since v8.0.4

Available in: v8.0.4 v8.1.2

Signature

sharded?()

No documentation comment.

Source
# File activerecord/lib/active_record/connection_handling.rb, line 382
    def sharded?
      shard_keys.any?
    end

Defined in activerecord/lib/active_record/connection_handling.rb line 382 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionHandling

Type at least 2 characters to search.

↑↓ navigate · open · esc close