PDOã使ã£ããã¼ã¿ãã¼ã¹æä½ã§ãªãã¸ã§ã¯ããæ±ãå ´åãä¸ä¾¿ãªã¨ãããçµæ§ããã¾ãã ããã PDOStatement ãæ¡å¼µãããã¨ã§ä½¿ãããããããã¨ãã話ãåºæ¬ã«ãå¿ç¨ä¾ã¨ãã¦JSONåºåã¨CSVãã¡ã¤ã«åºåã®æ¹æ³ãç´¹ä»ãã¾ãã ãªãã¸ã§ã¯ãã§åå¾ããããã®ãã§ããã¢ã¼ã ãã§ããã¢ã¼ãã«ã¯å¤å½©ãªãã®ãç¨æããã¦ããã®ã§ããããªãã¸ã§ã¯ãã§åå¾ããå ´åã¯ã©ãã使ãã¥ããã§ãã èªåã¯ããããã¢ãã«ã¯ã©ã¹ã¯ä¸å¤ãªãã¸ã§ã¯ãã«ããããæ´¾ãã¤ããã¸ãã¯ã¡ã½ãã大好ããªã®ã§ããã®è¾ºãã®ä½¿ããããã«ã¤ãã¦ã注ç®ãã¦ã¿ã¾ãã PDO::FETCH_OBJ ååãããããã£ã«æã¤å¿åãªãã¸ã§ã¯ã (stdClass) ãè¿ãã¾ãã å¿åãªãã¸ã§ã¯ããªãã¦é£æ³é åã¨åãã ããä»ã¨ãªã£ã¦ã¯æå³ããªãããâ¦ã PDO::FETCH_LAZY PHPããã¥ã¢ã«ã®è¨è¿°ãã㯠PDO::FETCH_OBJ ã¨
{{#tags}}- {{label}}
{{/tags}}