HSQLDB uses the :hsqldb database type.
# File lib/sequel/adapters/jdbc/hsqldb.rb, line 15 def database_type :hsqldb end
The version of the database, as an integer (e.g 2.2.5 -> 20205)
# File lib/sequel/adapters/jdbc/hsqldb.rb, line 26 def db_version @db_version ||= begin v = get{DATABASE_VERSION(){}} if v =~ /(\d+)\.(\d+)\.(\d+)/ $1.to_i * 10000 + $2.to_i * 100 + $3.to_i end end end
HSQLDB uses an IDENTITY sequence as the default value for primary key columns.
# File lib/sequel/adapters/jdbc/hsqldb.rb, line 21 def serial_primary_key_options {:primary_key => true, :type => :integer, :identity=>true, :start_with=>1} end
Generated with the Darkfish Rdoc Generator 2.