function tripal_feature_update_db_reference

1.x tripal_feature-db_references.inc tripal_feature_update_db_reference($dbxref_id, $db_id, $accession)

Related topics

1 call to tripal_feature_update_db_reference()

File

tripal_feature/includes/tripal_feature-db_references.inc, line 280
@todo Add file header description

Code

function tripal_feature_update_db_reference($dbxref_id, $db_id, $accession) {

  $sql = "UPDATE {dbxref} SET db_id=%d, accession='%s' WHERE dbxref_id=%d";
  chado_query($sql, $db_id, $accession, $dbxref_id);

}