lib/sequel_core/adapters/shared/postgres.rb
# Parse the schema for multiple tables.
Parse the schema for multiple tables.
Parse the schema for multiple tables .
def schema_parse_tables(opts)
        schemas = {}
        schema_parser_dataset(nil, opts).each do |row|
          (schemas[row.delete(:table).to_sym] ||= []) << row
        end
        schemas.each do |table, rows|
          schemas[table] = schema_parse_rows(rows)
        end
        schemas
      end
def schema_parse_tables ( opts ) schemas = { } schema_parser_dataset ( nil , opts ) . each do | row | ( schemas [ row . delete ( :table ) . to_sym ] ||= [ ] ) << row end schemas . each do | table , rows | schemas [ table ] = schema_parse_rows ( rows ) end schemas end
Parse the schema for multiple tables.
Parse the schema for multiple tables .
opts