| DBSchema :: Normalizer. DBSchema :: Normalizer´Â µ¥ÀÌÅͺ£À̽º Á¤±ÔÈÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
DBSchema :: Normalizer. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Giuseppe Maxia
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~gmax/Chess-PGN-Parse-0.19/Parse.pm
DBSchema :: Normalizer. ű×
DBSchema :: Normalizer. ¼³¸í
DBSchema :: Normalizer´Â µ¥ÀÌÅͺ£À̽º Á¤±ÔÈÀÔ´Ï´Ù. DBSchema :: Normalizer´Â µ¥ÀÌÅͺ£À̽º Á¤±ÔÈÀÔ´Ï´Ù. Å×À̺íÀ» 1 ¹ø°·Î 2 ¹ø°·Î º¯È¯ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ½Äº°ÀÚ # ½¬¿î ¹æ¹ýÀº »ý¼ºÀÚ #¿¡ ¸ðµç ¸Å°³ º¯¼ö¸¦ Á¦°ø ÇÑ ´ÙÀ½ È£Ãâ do () # DBSchema :: Normalizer¸¦ »ç¿ëÇÏ´Â °ÍÀÔ´Ï´Ù. my $ norm = dbschema :: normalizer-> new ({dsn => $ dsn, username => $ username, password => $ password, src_table => $ sourcetable, index_field => $ indexfield, lookup_fields => $ lookupfields, # ½°Ç¥·Î ±¸ºÐ µÈ ¸ñ·Ï lookup_table => $ sollupleable, dest_table => $ dest_table, copy_indexes => "yes",}); $ norm-> do (); # ±×³É ÇØ! # ¶Ç´Â Á¶È¸ Å×À̺íÀ» ¸¸µé°í Ç¥ÁØÈ µÈ Å×À̺íÀ» °³º°ÀûÀ¸·Î ¸¸µé ¼ö ÀÖ½À´Ï´Ù. # ƯÈ÷ Áß°£ ´Ü°è ÀÎ °æ¿ì # ƯÈ÷ À¯¿ëÇÕ´Ï´Ù. # DBSchema :: Normalizer QW (create_lookup_table create_normalized_table); MY $ norm = dbschema :: normalizer-> new ({dsn => $ dsn, username => $ username, password => $ password}); $ norm-> create_lookup_table ({src_table => $ tableName, index_field => $ indexfield, lookup_Fields => $ lookupields, lookup_table => $ solluptable}); $ norm-> create_normalized_table ({src_table => $ tablename, index_field => $ lookup_fields => $ lookupfields => $ lookupfields, lookup_table => $ divuptable, dest_table => $ dest_table, copy_indexes => "yes",}); dbschema :: Normalizer´Â MySQL µ¥ÀÌÅͺ£À̽º Å×À̺íÀ» 1 ´Ü°è¿¡¼ 2 ¹ø° Á¤»ó ¾ç½ÄÀ¸·Î º¯È¯ÇÏ´Â µ¥ µµ¿òÀ̵Ǵ ¸ðµâÀÔ´Ï´Ù. °£´ÜÈ÷ ¸»Çؼ, ¼Ò½º Å×ÀÌºí¿¡¼ ¹Ýº¹ ÇÊµå ¼¼Æ®¿¡¼ Á¶È¸ Å×À̺íÀ» ¸¸µé°í »õ·Î »ý¼º µÈ table.all Á¤º¸ÀÇ ÇØ´ç Çʵ带 °¡¸®Å°´Â ¿ÜºÎ Å°·ÎÀÌ Çʵ带 ¹Ù²Ù´Â °ÍÀÔ´Ï´Ù. µ¥ÀÌÅͺ£À̽º ÀÚü¿¡¼ °¡Á®¿É´Ï´Ù. ±âÁ¸ ¼¼ºÎ Á¤º¸¸¦ ÁöÁ¤ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. ¸ðµâÀº ±âÁ¸ À妽º¸¦ ´Ù½Ã »ý¼º ÇÒ ¼ö ÀÖÀ¸¸ç ´ëü µÈ Çʵ尡 ±âº» Å°ÀÇ ÀϺÎÀÎ º¹ÀâÇÑ °æ¿ì¸¦ ó¸®ÇؾßÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
DBSchema :: Normalizer. °ü·Ã ¼ÒÇÁÆ®¿þ¾î