DB_common::provides()
Parameter
- string $feature
the feature to check
Table 39-1. Possible values are:
$feature value Meaning prepare The database does a pre-check of the SQL statement pconnect The database supports persistent connections transactions The database supports transactions limit The database supports LIMITed SELECT statements
Note
This function can not be called statically.
| Warning |
The provided information are only hints. Check the documentation of your database system for the real supported features. I.e. MySQL supports transactions, but not for every table type. |
Example
Example 39-1. Using provides()
|
