method

supports_primary_key?

supports_primary_key?()
public

Does PostgreSQL support finding primary key on non-Active Record tables?