Class: Exwiw::Adapter::MysqlClient::Result
- Inherits:
-
Data
- Object
- Data
- Exwiw::Adapter::MysqlClient::Result
- Defined in:
- lib/exwiw/adapter/mysql_client.rb
Overview
Immutable value object: a query’s column names and its rows.
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields
19 20 21 |
# File 'lib/exwiw/adapter/mysql_client.rb', line 19 def fields @fields end |
#rows ⇒ Object (readonly)
Returns the value of attribute rows
19 20 21 |
# File 'lib/exwiw/adapter/mysql_client.rb', line 19 def rows @rows end |