
Bio::Chado::Schema::Result::Stock::StockRelationship

data_type: 'integer' is_auto_increment: 1 is_nullable: 0 sequence: 'stock_relationship_stock_relationship_id_seq'
data_type: 'integer' is_foreign_key: 1 is_nullable: 0
stock_relationship.subject_id is the subject of the subj-predicate-obj sentence. This is typically the substock.
data_type: 'integer' is_foreign_key: 1 is_nullable: 0
stock_relationship.object_id is the object of the subj-predicate-obj sentence. This is typically the container stock.
data_type: 'integer' is_foreign_key: 1 is_nullable: 0
stock_relationship.type_id is relationship type between subject and object. This is a cvterm, typically from the OBO relationship ontology, although other relationship types are allowed.
data_type: 'text' is_nullable: 1
stock_relationship.value is for additional notes or comments.
data_type: 'integer' default_value: 0 is_nullable: 0
stock_relationship.rank is the ordering of subject stocks with respect to the object stock may be important where rank is used to order these; starts from zero.

Type: belongs_to
Related object: Bio::Chado::Schema::Result::Stock::Stock
Type: belongs_to
Related object: Bio::Chado::Schema::Result::Cv::Cvterm
Type: belongs_to
Related object: Bio::Chado::Schema::Result::Stock::Stock
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockRelationshipCvterm
Type: has_many
Related object: Bio::Chado::Schema::Result::Stock::StockRelationshipPub