class Sequel::Trilogy::Dataset

  1. lib/sequel/adapters/trilogy.rb
Superclass: Dataset

Methods

Public Instance

  1. fetch_rows

Public Instance methods

fetch_rows(sql)
[show source]
    # File lib/sequel/adapters/trilogy.rb
 94 def fetch_rows(sql)
 95   execute(sql) do |r|
 96     self.columns = r.fields.map!{|c| output_identifier(c.to_s)}
 97     r.each_hash{|h| yield h}
 98   end
 99   self
100 end