public getConnectionStatus ( ) : string | ||
return | string | the status of the connection Some DBMS (such as sqlite) may not support this feature. |
public function getConnectionStatus()
{
return $this->getAttribute(PDO::ATTR_CONNECTION_STATUS);
}