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