Sha256: 40ce89a62a8dfe6a89ab1e3ad49149bfade811180bfdd2502dee3f5ff3df991b

Contents?: true

Size: 848 Bytes

Versions: 6

Compression:

Stored size: 848 Bytes

Contents

Sequel.require 'adapters/shared/informix'

module Sequel
  module JDBC
    # 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
        
        # Return instance of Sequel::JDBC::Informix::Dataset with the given opts.
        def dataset(opts=nil)
          Sequel::JDBC::Informix::Dataset.new(self, opts)
        end
        
        private
        
        # TODO: implement
        def last_insert_id(conn, opts={})
          nil
        end
      end
      
      # Dataset class for Informix datasets accessed via JDBC.
      class Dataset < JDBC::Dataset
        include Sequel::Informix::DatasetMethods
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sequel-3.28.0 lib/sequel/adapters/jdbc/informix.rb
sequel-3.27.0 lib/sequel/adapters/jdbc/informix.rb
sequel-3.26.0 lib/sequel/adapters/jdbc/informix.rb
sequel-3.25.0 lib/sequel/adapters/jdbc/informix.rb
sequel-3.24.1 lib/sequel/adapters/jdbc/informix.rb
sequel-3.24.0 lib/sequel/adapters/jdbc/informix.rb