Constants
DatasetClass | = | self |
Attributes
Public Instance methods
columns
(*cs)
If arguments are provided, use them to set the columns for this dataset and return self. Otherwise, use the default Sequel behavior and return the columns.
[show source]
# File lib/sequel/adapters/mock.rb, line 350 def columns(*cs) if cs.empty? super else @columns = cs self end end
fetch_rows
(sql, &block)
[show source]
# File lib/sequel/adapters/mock.rb, line 359 def fetch_rows(sql, &block) execute(sql, &block) end