Provides an accordion
helper and a tabs
helper
In your Gemfile:
gem 'bootstrap-components-helpers', :git => 'git://gist.github.com/2117187.git'
module Sequel | |
module Postgres | |
module DatabaseMethods | |
def schema_parse_complete opts=OPTS # modification | |
m = output_identifier_meth(opts[:dataset]) | |
ds = metadata_dataset.select(:pg_attribute__attname___name, | |
:pg_class__relname, # addition | |
SQL::Cast.new(:pg_attribute__atttypid, :integer).as(:oid), | |
SQL::Cast.new(:basetype__oid, :integer).as(:base_oid), | |
SQL::Function.new(:format_type, :basetype__oid, :pg_type__typtypmod).as(:db_base_type), |