Ilia Alshanetsky
726e188cce
Fixed typo.
2004-05-20 19:14:44 +00:00
Ilia Alshanetsky
e596466a1f
Added getAttribute() method.
2004-05-20 19:09:35 +00:00
Ilia Alshanetsky
cf33729c20
Better error message.
2004-05-20 18:05:44 +00:00
Wez Furlong
04ccc0134d
Add methods for error handling
2004-05-20 17:22:13 +00:00
Ilia Alshanetsky
fbbb41a53b
Fixed typo.
2004-05-20 15:45:16 +00:00
Ilia Alshanetsky
e770b2b411
Fixed compiler warnings.
2004-05-20 13:57:09 +00:00
Wez Furlong
e7c72f8455
First cut at a "unified" error handling API. The main thing that is missing
...
currently is a switch in the dbh to indicate what to do with the errors.
2004-05-20 00:05:22 +00:00
George Schlossnagle
129997216b
exec() now returns row count
2004-05-19 19:27:53 +00:00
Frank M. Kromann
7c5c0fbbea
Set correct Win32 line endings and fix ZTS compilation
2004-05-19 18:04:47 +00:00
Ilia Alshanetsky
074ba3fbc0
Added lastInsertId() method for retrieving last insert id.
...
Made affectedRows() work for MySQL.
Populate error value in MySQL on error.
2004-05-19 17:35:39 +00:00
Wez Furlong
fd6b885a19
Revise $dbh->exec().
...
The driver doer() method should populate dbh->affected_rows if it can determine its value.
2004-05-19 13:55:41 +00:00
Wez Furlong
6cd27ff8be
Add $dbh->exec() method.
...
Rename $dbh->beginWork() to $dbh->beginTransaction().
2004-05-19 13:43:07 +00:00
Wez Furlong
4116d9fb0e
Expand the prepare() prototype to accept additional options.
2004-05-19 12:37:31 +00:00
George Schlossnagle
a97e1a6646
handle binding/quoting of queries for drivers with emulated prepares
2004-05-18 15:19:31 +00:00
Wez Furlong
79c513db96
Some pedantic fixes for gcc.
2004-05-17 17:00:35 +00:00
Wez Furlong
684be9cf36
Hello PDO.
...
Still more to come. Give it a couple of days before starting to write drivers
for the other databases; a few things might change, so I'd like to coordinate
that, but in a couple of days.
2004-05-17 15:41:51 +00:00