PHP Manuál | ||
---|---|---|
Predchádzajúci | Nasledujúci |
(no version information, might be only in CVS)
PDO::getAttribute -- Retrieve a database connection attributeVarovanie |
T�to funkcia je EXPERIMENT�LNA. Spr�vanie tejto funkcie, n�zov tejto funkcie a hoci�o in� zdokumentovan� o tejto funkcii sa m�e zmeni� bez pov�imnutia v bud�com vydan� PHP. Pou��vajte t�to funkcii na svoje vlastn� riziko. |
This function returns the value of a database connection attribute. To retrieve PDOStatement attributes, refer to PDOStatement::getAttribute().
Note that some databases may not support all of the database connection attributes.
One of the PDO_ATTR_* constants. The constants that apply to database connections are as follows:
PDO_ATTR_AUTOCOMMIT |
PDO_ATTR_CASE |
PDO_ATTR_CLIENT_VERSION |
PDO_ATTR_CONNECTION_STATUS |
PDO_ATTR_ERRMODE |
PDO_ATTR_ORACLE_NULLS |
PDO_ATTR_PERSISTENT |
PDO_ATTR_PREFETCH |
PDO_ATTR_SERVER_INFO |
PDO_ATTR_SERVER_VERSION |
PDO_ATTR_TIMEOUT |
A successful call returns the value of the requested PDO attribute. An unsuccessful call returns null.
Predchádzajúci | Domov | Nasledujúci |
PDO::exec | Hore | PDO::lastInsertId |