module Sequel::Postgres::MockAdapterDatabaseMethods

Public Instance Methods

bound_variable_arg(arg, conn) click to toggle source
# File lib/sequel/adapters/shared/postgres.rb, line 81
def bound_variable_arg(arg, conn)
  arg
end
primary_key(table) click to toggle source
# File lib/sequel/adapters/shared/postgres.rb, line 85
def primary_key(table)
  :id
end

Private Instance Methods

schema_parse_table(table, opts=OPTS) click to toggle source

Handle NoMethodErrors when parsing schema due to output_identifier being called with nil when the Database fetch results are not set to what schema parsing expects.

Calls superclass method
# File lib/sequel/adapters/shared/postgres.rb, line 94
def schema_parse_table(table, opts=OPTS)
  super
rescue NoMethodError
  []
end