开发者

What all fetch modes are there for PDO?

I am just getting started using PDO.

I am wondering if there is a list of all the available FETCH_* modes and what each does?

I found this page of the manuals that covers setFetchMode which even has this line in it:

The fetch mode must be one of the PDO::FETCH_* constants.

But I开发者_开发技巧 see nothing that lists what all is available?


http://www.php.net/manual/en/pdo.constants.php will tell you all he constants, including the fetch mode constants. You can also find more details in the PDOStatement::fetch documentation: http://www.php.net/manual/en/pdostatement.fetch.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜