ããã«ã¡ã¯ãinoueã§ããé«æ ¡çå
ã®ããã«ã¡ãã£ã¨é£æã CakePHPã使ã£ã¦ã¢ããªã±ã¼ã·ã§ã³éçºããã¦ããã¨ãã便å©ã ãªããã¨æãç¹ã¨ãé¢åã ãªããã¨æãç¹ãããã¾ãã ç¹ã«DBã¢ã¯ã»ã¹ã¾ããã¯ãåç´ãª1ãã¼ãã«ã¨ã®ããã¨ãã¯ãã¬ã¼ã ã¯ã¼ã¯ã楽ãããã¦ãããã®ã§ããã è¤æ°ãã¼ãã«ãJOINããããMySQLé¢æ°ã使ãããã¨ãã¯é常ã«é¢åã«æã£ã¦ãã¾ãã¾ãã ãããªã¨ããæãæ©ã¾ãã«æ¸ãã®ãã¢ãã«ã®queryã¡ã½ããã§ãã 使ç¨æ¹æ³ ä»»æã®SQLãè¨è¿°ãããããå¼æ°ã¨ã㦠queryã¡ã½ããã«æ¸¡ãã°ãå®è¡çµæãé
åã§è¿ãã¦ããã¾ãã ä¾ã¨ãã¦ãã¢ã¯ã»ã¹ãã°ãéè¨ãã¦ãã¼ã¸ãã¨ã®æ¥å¥ã¢ã¯ã»ã¹æ°ãæ±ããå ´åã¯ãããªæãã $sql = " SELECT blog_id, author_id, entry_id,"; $sql .= " DATE_FORMAT(access_datetim
{{#tags}}- {{label}}
{{/tags}}