The Pdo\Dblib class
A PDO subclass representing a connection using the DBLib PDO driver.
Intro
A PDO subclass representing a connection using the DBLib PDO driver.
Class synopsis
PdoDblibextendsPDOInheritedConstantsConstantspublicconstintPdo\Dblib::ATTR_CONNECTION_TIMEOUTpublicconstintPdo\Dblib::ATTR_QUERY_TIMEOUTpublicconstboolPdo\Dblib::ATTR_STRINGIFY_UNIQUEIDENTIFIERpublicconstintPdo\Dblib::ATTR_VERSIONpublicconstintPdo\Dblib::ATTR_TDS_VERSIONpublicconstintPdo\Dblib::ATTR_SKIP_EMPTY_ROWSETSpublicconstboolPdo\Dblib::ATTR_DATETIME_CONVERTInheritedMethods
Predefined Constants
Pdo\Dblib::ATTR_CONNECTION_TIMEOUTPdo\Dblib::ATTR_QUERY_TIMEOUTPdo\Dblib::ATTR_STRINGIFY_UNIQUEIDENTIFIERAs of PHP 8.4.0 this constant is typed as
bool; previously, it was typed asint.Pdo\Dblib::ATTR_VERSIONPdo\Dblib::ATTR_TDS_VERSIONPdo\Dblib::ATTR_SKIP_EMPTY_ROWSETSPdo\Dblib::ATTR_DATETIME_CONVERTThis connection attribute controls the format of strings for datetime types. When this is false, PDO_DBLIB will return a datetime type as a string in the format that SQL Server returns it in (i.e.
"2017-10-27 10:22:44"). When true, PDO_DBLIB will convert the datetime type into a string using a user-defined or locale format, as specified in the FreeTDSlocales.conffile. By default, this attribute is false.As of PHP 8.4.0 this constant is typed as
bool; previously, it was typed asint.