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 350 def columns(*cs) if cs.empty? super else @columns = cs self end end
# File lib/sequel/adapters/mock.rb, line 359 def fetch_rows(sql, &block) execute(sql, &block) end
# File lib/sequel/adapters/mock.rb, line 365 def execute(sql, opts=OPTS, &block) super(sql, opts.merge(:dataset=>self), &block) end
# File lib/sequel/adapters/mock.rb, line 369 def execute_dui(sql, opts=OPTS, &block) super(sql, opts.merge(:dataset=>self), &block) end
# File lib/sequel/adapters/mock.rb, line 373 def execute_insert(sql, opts=OPTS, &block) super(sql, opts.merge(:dataset=>self), &block) end