| Basset :: DB :: Ç¥ BASSET :: DB :: TABLEÀº µ¥ÀÌÅͺ£À̽º Å×À̺íÀ» Á¤ÀÇÇÏ´Â µ¥ »ç¿ëµÇ¸ç ÇØ´ç µ¥ÀÌÅ͸¦ ¸Þ¸ð¸®¿¡·ÎµåÇÏ´Â ¹æ¹ýÀ» Á¤ÀÇÇÕ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Basset :: DB :: Ç¥ ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Jim Thomason
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~jimt/Basset-1.04/lib/Basset/Machine.pm
Basset :: DB :: Ç¥ ű×
Basset :: DB :: Ç¥ ¼³¸í
Basset :: DB :: TABLEÀº µ¥ÀÌÅͺ£À̽º Å×À̺íÀ» Á¤ÀÇÇÏ´Â µ¥ »ç¿ëµÇ´Â µ¥ »ç¿ëµÇ¸ç ÇØ´ç µ¥ÀÌÅ͸¦ ¸Þ¸ð¸®¿¡·ÎµåÇÏ´Â ¹æ¹ýÀ» Á¤ÀÇÇÕ´Ï´Ù. Basset :: DB :: TableÀº µ¥ÀÌÅͺ£À̽º Å×À̺íÀ» Á¤ÀÇÇÏ´Â µ¥ »ç¿ëµÇ´Â ¹æ¹ý, Å×À̺í Á¤º¸¸¦ ±â¹ÝÀ¸·Î ¸Þ¸ð¸®¿¡ ÇØ´ç µ¥ÀÌÅ͸¦·ÎµåÇÏ°í Äõ¸®¸¦ ºôµåÇÏ´Â ¹æ¹ýÀ» Á¤ÀÇÇÏ´Â µ¥ »ç¿ëµË´Ï´Ù. ¿¹¸¦ µé¾î, My $ Table = Basset :: DB :: Table-> New ( 'Name) '=>'»ç¿ëÀÚ ','primary_column '=>'id ','autogenerated '=> 1,'definition '=> {id'=> 'sql_integer', 'username'=> 'sql_varchar', 'password' => 'sql_varchar', 'name'=> 'sql_varchar'}); $ table-> insert_query, "n"À» ÀμâÇϽʽÿÀ; $ table-> update_query, "n"À» ÀμâÇϽʽÿÀ; $ table-> delete_query, "n"À» ÀμâÇϽʽÿÀ; basset :: db :: tableÀº µ¥ÀÌÅͺ£À̽º Å×À̺íÀ» Á¤ÀÇÇÏ´Â Ãß»óÀûÀÌ°í ÀÏ°üµÈ À§Ä¡¸¦ Á¦°øÇϸç, µ¥ÀÌÅͺ£À̽º Å×À̺íÀ» Á¤ÀÇÇÏ°í, Äõ¸®¸¦ ±â¹ÝÀ¸·Î Äõ¸®¸¦ ±¸Ãà ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×°ÍÀº °ÅÀÇ Äڵ忡¼ Á÷Á¢ »ç¿ëµÇÁö¸¸, Basset :: Object :: Persistent.Any Äõ¸®¿¡¼ ¹Ýȯ µÈ Persistent.Any Äõ¸®°¡ DBI°¡ »ç¿ëÇؾßÇÏ´Â ÆÐÅ°Áö¿¡¼ Äõ¸® ¸Þ¼Òµå¿¡¼ ¹Ýȯ ÇؾßÇÏ´Â ÆÐÅ°Áö¿¡¼ ±¤¹üÀ§ÇÏ°Ô »ç¿ëµË´Ï´Ù. .requirements : ¡¤ Perl.
Basset :: DB :: Ç¥ °ü·Ã ¼ÒÇÁÆ®¿þ¾î