module Elasticsearch::Model::Adapter::Default::Records

Module for implementing methods and logic related to fetching records from the database

Public Instance Methods

records() click to toggle source

Return the collection of records fetched from the database

By default uses `MyModel#find[1, 2, 3]`

# File lib/elasticsearch/model/adapters/default.rb, line 34
def records
  klass.find(@ids)
end