has_primary_key


Description:

public abstract bool has_primary_key (string key)

Returns true if @key is used in collection as primary key.