mirror of
https://github.com/php/php-src.git
synced 2024-10-07 09:46:10 +00:00
6e0d8dd06f
Allow drivers to add methods to dbh and stmt objects (note that we can't use a class, because the use only sees the PDO class). Clarify the api slightly: PDO::exec() is used for one-shot queries that don't return rows PDO::query() is a convenience function for returning a rowset without having to go through the steps of preparing and executing.
10 lines
198 B
JavaScript
Executable File
10 lines
198 B
JavaScript
Executable File
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_ENABLE("pdo", "Enable PHP Data Objects support", "no");
|
|
|
|
if (PHP_PDO != "no") {
|
|
EXTENSION('pdo', 'pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c');
|
|
}
|
|
|