Class/Module Index [+]

Quicksearch

Sequel::JDBC::H2::DatabaseMethods

Instance methods for H2 Database objects accessed via JDBC.

Public Instance Methods

database_type() click to toggle source

H2 uses the :h2 database type.

# File lib/sequel/adapters/jdbc/h2.rb, line 10
def database_type
  :h2
end
dataset(opts=nil) click to toggle source

Return Sequel::JDBC::H2::Dataset object with the given opts.

# File lib/sequel/adapters/jdbc/h2.rb, line 15
def dataset(opts=nil)
  Sequel::JDBC::H2::Dataset.new(self, opts)
end
serial_primary_key_options() click to toggle source

H2 uses an IDENTITY type

# File lib/sequel/adapters/jdbc/h2.rb, line 20
def serial_primary_key_options
  {:primary_key => true, :type => :identity}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.