class Sequel::Model::Associations::EagerGraphLoader

def pk(ta, h)

Return a primary key value for the given table alias by parsing it out of the main hash +h+.
def pk(ta, h)
  x = primary_keys[ta]
  if x.is_a?(Array)
    unless x == []
      x = x.map{|ca| h[ca]}
      x if x.all?
    end
  else
    h[x]
  end
end