DBIX ::クラス:: result :: externalAttribute

Great New DBIX ::クラス:: result :: externalAttribute!
今すぐダウンロード

DBIX ::クラス:: result :: externalAttribute ランキングとまとめ

広告

  • Rating:
  • ライセンス:
  • Perl Artistic License
  • 出版社名:
  • Nicolas Oudard
  • 出版社のWebサイト:
  • http://search.cpan.org/noudard/

DBIX ::クラス:: result :: externalAttribute タグ


DBIX ::クラス:: result :: externalAttribute 説明

Great New DBIX ::クラス:: result :: externalAttribute! DBIX :: Class :: result :: externalAttributeはPerl Module.SynopsisSisuse attributeのattributeを保存するための添付モデルです。基本QW / DBIX :: Class :: Core /;を使用してください。 __package __->テーブル( 'アーティスト'); __package __-> add_columns( "id"、{data_type => "integer"、is_autto_increment => 1、is_nullable => 0}、 "name"、{data_type => "varchar"、default_value => ""、is_nullable => 0 、サイズ=> 255}); __package __-> set_primary_key( 'id'); __package __-> load_components(qw / result :: externalAttribute result :: columnData /); __package __-> init_external_attribute(artist_attribute => 't :: app :: main :: result :: artistattribute'、 'artist_id'); __package __-> register_relationships_column_data();アーティスト属性結果:パッケージT :: App :: Main :: resultttribute;基本QW / DBIX :: Class :: Core /;を使用してください。 __package __->テーブル( 'artist_attribute'); __package __-> add_columns( "artist_id"、{data_type => "integer"、is_nullable => 0}、 "year_old"、{data_type => "integer"、is_nullable => 1})})}); __package __-> set_primary_key( 'artist_id'); __package __-> load_components(qw / result :: columnData /); __package __-> bentress_to(アーティスト=> "T :: App :: Main :: Result :: Artist"、 'Artist_ID'); 1;この設定では、メソッドを呼び出すことができます。 ({name => "me"、year_old => 15}); #Create Artist attributes My $ RH = T :: App :: Main :: result :: artist-> prepare_params_with_attribute({name => "me"、year_old => 15}); $スキーマ - > ResultSet( 'アーティスト') - > create($ rh);要件: ・Perl


DBIX ::クラス:: result :: externalAttribute 関連ソフトウェア