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