DB_common::provides()

DB_common::provides() -- Checks if the DBMS supports a particular feature

Synopsis

boolean provides (string $feature)

Descripción

Checks if a feature is available for the chosen database type.

Parámetro

string $feature

the feature to check

Valor devuelto

boolean - TRUE if the feature is supported

Nota

Esta función no puede ser llamada estáticamente.

Aviso

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.

Ejemplo