Module: Elasticsearch::Model::Adapter::Default::Records
- Defined in:
 - lib/elasticsearch/model/adapters/default.rb
 
Overview
Module for implementing methods and logic related to fetching records from the database
Instance Method Summary collapse
- 
  
    
      #records  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Return the collection of records fetched from the database.
 
Instance Method Details
#records ⇒ Object
Return the collection of records fetched from the database
By default uses ‘MyModel#find[1, 2, 3]`
      31 32 33  | 
    
      # File 'lib/elasticsearch/model/adapters/default.rb', line 31 def records klass.find(@ids) end  |