NAME

Bio::Chado::Schema::Stock::Stockprop

DESCRIPTION

A stock can have any number of slot-value property tags attached to it. This is an alternative to hardcoding a list of columns in the relational schema, and is completely extensible. There is a unique constraint, stockprop_c1, for the combination of stock_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.

ACCESSORS

stockprop_id

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

stock_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

type_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

value

data_type: 'text'
is_nullable: 1

rank

data_type: 'integer'
default_value: 0
is_nullable: 0

RELATIONS

stock

Type: belongs_to

Related object: Bio::Chado::Schema::Stock::Stock

type

Type: belongs_to

Related object: Bio::Chado::Schema::Cv::Cvterm

stockprop_pubs

Type: has_many

Related object: Bio::Chado::Schema::Stock::StockpropPub