Sha256: b22d8968c7e1b5e5c07bd6168aa57109363278fb758a0116d7f177ebb9e9ca99

Contents?: true

Size: 353 Bytes

Versions: 7

Compression:

Stored size: 353 Bytes

Contents

safe_require 'sequel', 'gem install sequel'
require 'sequel/adapters/postgres'

module Sequel
  module Postgres
    class Adapter < ::PGconn
      def execute_query(sql, args)
        @db.log_connection_yield(sql, self, args) do
          args ? await(defer{async_exec(sql, args)}) : await(defer{async_exec(sql)})
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
em-midori-0.1.6.1 lib/midori/extension/sequel.rb
em-midori-0.1.6 lib/midori/extension/sequel.rb
em-midori-0.1.5.4 lib/em-midori/extension/sequel.rb
em-midori-0.1.5.3 lib/em-midori/extension/sequel.rb
em-midori-0.1.5.2 lib/em-midori/extension/sequel.rb
em-midori-0.1.5.1 lib/em-midori/extension/sequel.rb
em-midori-0.1.5 lib/em-midori/extension/sequel.rb