ensembl-hive  2.7.0
Xref::Schema::ResultSet::Synonym Class Reference

Public Member Functions

public Boolean check_synonym ()
 

Detailed Description

Definition at line 4 of file Synonym.pm.

Member Function Documentation

◆ check_synonym()

public Boolean Xref::Schema::ResultSet::Synonym::check_synonym ( )
Description: Search for the given xref_id and synonym. Just a coding shortcut
Example    :
my $exists = $schema->resultset('Synonym')->check_synonym({
xref_id => $params->{xref_id},
synonym => $params->{synonym}
});
Returntype : Boolean - True if the synonymn was found
 
Code:
click to view

The documentation for this class was generated from the following file:
Xref::Schema::ResultSet::Synonym::check_synonym
public Boolean check_synonym()