| DB_common::prepare() | DB_common::query() |
| DB | |
| PEAR Manual | |
boolean provides (
string $feature
)
Checks if a feature is available for the chosen database type.
the feature to check
| $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 |
boolean - TRUE if the feature is supported
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. |
Using provides()
|
| DB_common::prepare() | DB_common::query() |
| DB | |
| PEAR Manual | |