|
|
Database handle attributes are those available only to a database handle.
AutoCommit (boolean)
If set to true, then SQL statements are automatically committed. If false, they are part of a transaction by default and need to be committed or rolled back.
Driver (handle)
Contains the handle of the parent driver.
For example:
$dbh->{Driver}->{Name}
Name (string)
The database name.
RowCacheSize (integer)
The size the application would like the local row cache to be or undef if the row cache is not implemented. Setting it to a negative number specifies memory size to be used for caching, 0 has the size automatically determined, 1 disables the cache, and a larger positive number is the size of the cache in rows.
Statement (string, read-only)
The most recent SQL statement passed to prepare().
|
|