Sha256: e712d48b894978747682e4e97efc6ddb17f1688f303cef25d1485e6cb33f0bca

Contents?: true

Size: 853 Bytes

Versions: 6

Compression:

Stored size: 853 Bytes

Contents

# frozen-string-literal: true

#SEQUEL5: Remove

Sequel::JDBC.load_driver('com.informix.jdbc.IfxDriver')
Sequel.require 'adapters/shared/informix'

module Sequel
  module JDBC
    Sequel.synchronize do
      DATABASE_SETUP[:"informix-sqli"] = proc do |db|
        db.extend(Sequel::JDBC::Informix::DatabaseMethods)
        db.extend_datasets Sequel::Informix::DatasetMethods
        com.informix.jdbc.IfxDriver
      end
    end

    # Database and Dataset instance methods for Informix specific
    # support via JDBC.
    module Informix
      # Database instance methods for Informix databases accessed via JDBC.
      module DatabaseMethods
        include Sequel::Informix::DatabaseMethods
        
        private
        
        # TODO: implement
        def last_insert_id(conn, opts=OPTS)
          nil
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
sequel-4.49.0 lib/sequel/adapters/jdbc/informix-sqli.rb
sequel-4.48.0 lib/sequel/adapters/jdbc/informix-sqli.rb
tdiary-5.0.5 vendor/bundle/gems/sequel-4.47.0/lib/sequel/adapters/jdbc/informix-sqli.rb
sequel-4.47.0 lib/sequel/adapters/jdbc/informix-sqli.rb
sequel-4.46.0 lib/sequel/adapters/jdbc/informix-sqli.rb
sequel-4.45.0 lib/sequel/adapters/jdbc/informix-sqli.rb