Bio::Chado::Schema::Result::Stock::Stockprop - Bio::Chado::Schema::Result::Stock::Stockprop documentation


Bio-Chado-Schema documentation  | view source Contained in the Bio-Chado-Schema distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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.

NAME

Top

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

ACCESSORS

Top

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

Top

stock

Type: belongs_to

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

type

Type: belongs_to

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

stockprop_pubs

Type: has_many

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

AUTHOR

Top

Robert Buels <rbuels@cpan.org>

COPYRIGHT AND LICENSE

Top


Bio-Chado-Schema documentation  | view source Contained in the Bio-Chado-Schema distribution.