The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bio::Chado::Schema::Result::Project::Project

ACCESSORS

project_id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'project_project_id_seq'

name

data_type: 'varchar'
is_nullable: 0
size: 255

description

data_type: 'varchar'
is_nullable: 0
size: 255

RELATIONS

assay_projects

Type: has_many

Related object: Bio::Chado::Schema::Result::Mage::AssayProject

nd_experiment_projects

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentProject

project_contacts

Type: has_many

Related object: Bio::Chado::Schema::Result::Project::ProjectContact

projectprops

Type: has_many

Related object: Bio::Chado::Schema::Result::Project::Projectprop

project_pubs

Type: has_many

Related object: Bio::Chado::Schema::Result::Project::ProjectPub

project_relationship_subject_projects

Type: has_many

Related object: Bio::Chado::Schema::Result::Project::ProjectRelationship

project_relationship_object_projects

Type: has_many

Related object: Bio::Chado::Schema::Result::Project::ProjectRelationship

create_projectprops

Usage: $set->create_projectprops({ baz => 2, foo => 'bar' });
Desc : convenience method to create project properties using cvterms
        from the ontology with the given name
Args : hashref of { propname => value, ...},
       options hashref as:
        {
          autocreate => 0,
             (optional) boolean, if passed, automatically create cv,
             cvterm, and dbxref rows if one cannot be found for the
             given projectprop name.  Default false.

          cv_name => cv.name to use for the given projectprops.
                     Defaults to 'project_property',

          db_name => db.name to use for autocreated dbxrefs,
                     default 'null',

          dbxref_accession_prefix => optional, default
                                     'autocreated:',
          definitions => optional hashref of:
              { cvterm_name => definition,
              }
           to load into the cvterm table when autocreating cvterms

           rank => force numeric rank. Be careful not to pass ranks that already exist
                   for the property type. The function will die in such case.

           allow_duplicate_values => default false.
              If true, allow duplicate instances of the same cvterm
              and value in the properties of the project.  Duplicate
              values will have different ranks.
        }
Ret  : hashref of { propname => new projectprop object }