| Class | Sequel::Mock::Dataset |
| In: |
lib/sequel/adapters/mock.rb
|
| Parent: | Sequel::Dataset |
| DatasetClass | = | self |
| _fetch | [RW] | Override the databases‘s fetch setting for this dataset |
| autoid | [RW] | Override the databases‘s autoid setting for this dataset |
| numrows | [RW] | Override the databases‘s numrows setting for this dataset |
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.
# File lib/sequel/adapters/mock.rb, line 307
307: def columns(*cs)
308: if cs.empty?
309: super
310: else
311: @columns = cs
312: self
313: end
314: end