Django-batch-select.

¹èÄ¡´Â ´Ù·® ¹× ÀÏ´ëÀÏ Çʵ带 ¼±ÅÃÇÕ´Ï´Ù (N + 1 Äõ¸® ¹®Á¦¸¦ ÇÇÇϱâ À§ÇØ)
Áö±Ý ´Ù¿î·Îµå

Django-batch-select. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • BSD License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • John Montgomery
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://github.com/lilspikey/

Django-batch-select. ű×


Django-batch-select. ¼³¸í

ÀÏ°ý 󸮴 ´Ù·® ¹× ÀÏ´ë ´ÙÀÇ Çʵ带 ¼±ÅÃÇÕ´Ï´Ù (n + 1 Äõ¸® ¹®Á¦¸¦ ÇÇÇϱâ À§ÇØ) Django-Batch-Select´Â DjangoÀÇ select_related_ ±â´É°ú µ¿ÀÏÇÑ °ÍÀ» Á¦°øÇϱâ À§ÇØ ¸¸µé¾îÁ³½À´Ï´Ù. ÀÌ¿Í °°ÀÌ "N + 1 Äõ¸® ¹®Á¦"¸¦ ÇÇÇÏ´Â ¶Ç ´Ù¸¥ Æí¸®ÇÑ µµ±¸ÀÔ´Ï´Ù .Select_Related_Àº ƯÁ¤ »óȲ¿¡¼­ ÀÌ·ç¾îÁú ÇÊ¿ä°¡ÀÖ´Â Äõ¸® ¼ö¸¦ ÃÖ¼ÒÈ­Çϱâ À§ÇØ Æí¸®ÇÕ´Ï´Ù. ±×·¯³ª ¿Ü±¹¾î Å°¸¦ ¹Ì¸® ¼±ÅÃÇÏ´Â °ÍÀÌ ÀϹÝÀûÀÔ´Ï´Ù .Batch_Select´Â ManyTomanyField_ °ü°è¸¦ ¹Ì¸® ¼±ÅÃÇÏ°í Forever Foreignekey_ Relations Reverse Reverse ForeaDekey_ Relations.It°¡ QuerySet_°¡ ¹¯´Â Ãß°¡ ÇʵåÀÇ ½ºÆ¼Ä¡·Î Æò°¡ µÈ °ÍÀ¸·Î QuerySet_À» ¼öÇà ÇÑ ÈÄ¿¡ ´ÜÀÏ Ãß°¡ SQL Äõ¸®¸¦ ¼öÇàÇÏ¿© ÀÛµ¿ÇÕ´Ï´Ù. ...¿¡ ÀÌ·¸°ÔÇÏ·Á¸é Custom Manager_À» Ãß°¡ÇؾßÇÕ´Ï´Ù. ±×·¯¸é Â÷·Ê·Î Ãß°¡ ¸Þ¼Òµå°¡ ÷ºÎ µÈ »ç¿ëÀÚ Á¤ÀÇ QuerySet_À» ¹ÝȯÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ Àå°í


Django-batch-select. °ü·Ã ¼ÒÇÁÆ®¿þ¾î