Override the databases's fetch setting for this dataset
Override the databases's autoid setting for this dataset
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 351 def columns(*cs) if cs.empty? super else @columns = cs self end end
# File lib/sequel/adapters/mock.rb, line 360 def fetch_rows(sql, &block) execute(sql, &block) end
# File lib/sequel/adapters/mock.rb, line 366 def execute(sql, opts={}, &block) super(sql, opts.merge(:dataset=>self), &block) end
# File lib/sequel/adapters/mock.rb, line 370 def execute_dui(sql, opts={}, &block) super(sql, opts.merge(:dataset=>self), &block) end
# File lib/sequel/adapters/mock.rb, line 374 def execute_insert(sql, opts={}, &block) super(sql, opts.merge(:dataset=>self), &block) end