# File lib/sequel/adapters/shared/postgres.rb 86 def primary_key(table) 87 :id 88 end
module Sequel::Postgres::MockAdapterDatabaseMethods
Public Instance Methods
bound_variable_arg(arg, conn)
click to toggle source
# File lib/sequel/adapters/shared/postgres.rb 82 def bound_variable_arg(arg, conn) 83 arg 84 end
primary_key(table)
click to toggle source
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 95 def schema_parse_table(table, opts=OPTS) 96 super 97 rescue NoMethodError 98 [] 99 end