Class: Simple::SQL::Result::Rows

Inherits:
Simple::SQL::Result show all
Defined in:
lib/simple/sql/result/rows.rb

Overview

rubocop:disable Metrics/AbcSize rubocop:disable Naming/AccessorMethodName

Direct Known Subclasses

Records

Instance Attribute Summary

Attributes inherited from Simple::SQL::Result

#current_page, #total_count, #total_pages

Instance Method Summary collapse

Methods inherited from Simple::SQL::Result

build

Constructor Details

#initialize(records) ⇒ Rows

Returns a new instance of Rows.



5
6
7
# File 'lib/simple/sql/result/rows.rb', line 5

def initialize(records)
  replace(records)
end