PDO::setAttribute
PDO::setAttribute
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)
PDO::setAttribute — Set an attribute
Description
public bool PDO::setAttribute ( int $attribute , mixed $value )
Sets an attribute on the database handle. Some of the available generic attributes are listed below; some drivers may make use of additional driver specific attributes.
-
PDO::ATTR_CASE: Force column names to a specific case.
PDO::CASE_LOWER: Force column names to lower case.
- 登录查看完整内容