Class: MysqlPR::StatementResult
- Inherits:
-
ResultBase
- Object
- ResultBase
- MysqlPR::StatementResult
- Defined in:
- lib/mysql-pr.rb
Overview
Result set for prepared statement
Instance Attribute Summary
Attributes inherited from ResultBase
Instance Method Summary collapse
-
#initialize(fields, protocol, charset) ⇒ StatementResult
constructor
A new instance of StatementResult.
Methods inherited from ResultBase
#data_seek, #each, #each_hash, #fetch, #fetch_hash, #free, #row_seek, #row_tell, #size
Constructor Details
#initialize(fields, protocol, charset) ⇒ StatementResult
Returns a new instance of StatementResult.
823 824 825 826 |
# File 'lib/mysql-pr.rb', line 823 def initialize(fields, protocol, charset) super(fields) @records = protocol.stmt_retr_all_records(@fields, charset) end |