Object
Connection class for Sequel's mock adapter.
Sequel::Mock::Database object that created this connection
The specific database options for this connection.
Shard this connection operates on, when using Sequel's sharding support (always :default for databases not using sharding).
Store the db, server, and opts.
# File lib/sequel/adapters/mock.rb, line 17 def initialize(db, server, opts) @db = db @server = server @opts = opts end
Delegate to the db's #_execute method.
# File lib/sequel/adapters/mock.rb, line 24 def execute(sql) @db.send(:_execute, self, sql, :log=>false) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.